views:

48

answers:

1

Anyone know how register an event handler for unhandled exceptions in C# .NETMF 4.0? A Google search reveals nothing.

Thanks!

A: 

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

Ade Miller
Unfortunately, this doesn't exist in .NET Micro framework.
chris12892