Exceptions handle in AppDomain.CurrentDomain.UnhandledException

Is it possible to handle exceptions in the AppDomain.CurrentDomain.UnhandledException callback? I want to do the following:

  • Show my own “exception occurred” dialog with the “Send Report” button
  • After the user rejected I want to close the application, but I do not want the default Windows crash dialog to "close the application show window.

Can this be done?

+5
source share

All Articles