开发者

what is the best way to write error's log file on Windows-mobile?

what is the best way to 开发者_运维知识库write error's log file on Windows-mobile ?

i need any C# sample code for this

thank's in advance


I would recommend using the EventLog class of the OpenNETCF.Diagnostics namespace of the Smart Device Framework to do this. I prefer using the Smart Device Framework simply because the classes often try to mirror the names and functionality of their counterparts from the full .NET framework as closely as possible, plus the community edition is free :)

Documentation for the Smart Device Framework is here.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜