How to catch an unhandled exception in C # .NETMF 4.0?

Does anyone know how to register an event handler for unhandled exceptions in C # .NETMF 4.0? A Google search shows nothing.

Thank!

+3
source share
1 answer

If you mean .NET 4, then the AppDomain.UnhandledException event will give you the opportunity to clear but not handle the exception.

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

0
source

Source: https://habr.com/ru/post/1750873/


All Articles