7 references to UnhandledExceptionMode
System.Windows.Forms (7)
System\Windows\Forms\Application.cs (2)
1630
public static void SetUnhandledExceptionMode(
UnhandledExceptionMode
mode)
1652
public static void SetUnhandledExceptionMode(
UnhandledExceptionMode
mode, bool threadScope)
System\Windows\Forms\NativeWindow.cs (5)
779
internal static void SetUnhandledExceptionModeInternal(
UnhandledExceptionMode
mode, bool threadScope)
793
case
UnhandledExceptionMode
.Automatic:
804
case
UnhandledExceptionMode
.ThrowException:
815
case
UnhandledExceptionMode
.CatchException:
827
throw new InvalidEnumArgumentException(nameof(mode), (int)mode, typeof(
UnhandledExceptionMode
));