This enumeration is used by Application.SetUnhandledExceptionMode(UnhandledExceptionMode).
In the .NET Framework version 2.0, the common language runtime behavior changed to allow unhandled exceptions to propagate up the call stack. This behavior can be disabled via the application configuration file. For more information, see Exceptions in Managed Threads.
Member Name | Description |
---|---|
Automatic |
Route all exceptions to the Application.ThreadException handler, unless the application's configuration file specifies otherwise. |
CatchException |
Always route exceptions to the Application.ThreadException handler. Ignore the application configuration file. |
ThrowException |
Never route exceptions to the Application.ThreadException handler. Ignore the application configuration file. |