开发者

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

开发者 https://www.devze.com 2022-12-30 18:25 出处:网络
what is the best way to 开发者_运维知识库write error\'s log file on Windows-mobile ? i need any C# sample code for this

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

精彩评论

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