How to capture unhandled exception in C# .NETMF 4.0?
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
精彩评论