开发者

How to capture unhandled exception in C# .NETMF 4.0?

开发者 https://www.devze.com 2023-01-04 06:14 出处:网络
Anyone know how to register an event handler for unhandled exceptions in C# .NETMF 4.0? A Google sea开发者_C百科rch reveals nothing.

Anyone know how to register an event handler for unhandled exceptions in C# .NETMF 4.0? A Google sea开发者_C百科rch reveals nothing.

Thanks!


If you mean .NET 4 then AppDomain.UnhandledException event will give you a chance to clean up but not handle the exception.

http://msdn.microsoft.com/en-us/library/system.appdomain.unhandledexception.aspx

0

精彩评论

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