Method SetUnhandledExceptionMode
SetUnhandledExceptionMode(UnhandledExceptionMode)
Instructs the application how to respond to unhandled exceptions.
public static void SetUnhandledExceptionMode(UnhandledExceptionMode mode)
Parameters
mode
UnhandledExceptionModeAn UnhandledExceptionMode value describing how the application should behave if an exception is thrown without being caught.