I have a Windows Forms application that has this code in the program's start up:
Application.SetUnhandledExceptionMode(UnhandledExceptionMode.Automatic);
In the MSDN Documentation for UnhandledExceptionMode.Automatic it states that:
Automatic - Route all exceptions to the ThreadException handler, unless the application's configuration file specifies otherwise.
Does anyone know exactly which element/attribute in the config file it is that affects this setting?
See Question&Answers more detail:os