8 references to UnhandledExceptionMode
System.Windows.Forms (7)
System\Windows\Forms\Application.cs (2)
1476
public static void SetUnhandledExceptionMode(
UnhandledExceptionMode
mode)
1498
public static void SetUnhandledExceptionMode(
UnhandledExceptionMode
mode, bool threadScope)
System\Windows\Forms\NativeWindow.cs (5)
775
internal static void SetUnhandledExceptionModeInternal(
UnhandledExceptionMode
mode, bool threadScope)
789
case
UnhandledExceptionMode
.Automatic:
800
case
UnhandledExceptionMode
.ThrowException:
811
case
UnhandledExceptionMode
.CatchException:
823
throw new InvalidEnumArgumentException(nameof(mode), (int)mode, typeof(
UnhandledExceptionMode
));
WinFormsControlsTest (1)
Program.cs (1)
13
Application.SetUnhandledExceptionMode(
UnhandledExceptionMode
.ThrowException);