Catching Unhandled Exceptions in .NET
.NET provides two different APIs for handling two different types of 'program crashes'. The types of crashes both result in different dialogs; unhandled exceptions on the Windows Forms event loop are called "Thread Exceptions", and unhandled exceptions on a background thread are called "AppDomain Errors". Menno finds his way through this confusion and shows how your program can exit gracefully in the event of either type of error:
Comments
Post a Comment