ThreadErrorMode Enumeration
Namespace: DevCase.Win32.EnumsAssembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
[FlagsAttribute]
public enum ThreadErrorMode
<FlagsAttribute>
Public Enumeration ThreadErrorMode
Dim instance As ThreadErrorMode
[FlagsAttribute]
public enum class ThreadErrorMode
[<FlagsAttribute>]
type ThreadErrorMode
No code example is currently available or this language may not be supported.
SystemDefault |
0 |
Use the system default, which is to display all error dialog boxes.
|
FailCriticalErrors |
1 |
The system does not display the critical-error-handler message box.
Instead, the system sends the error to the current thread.
Best practice is that all applications call the SetErrorMode(ProcessErrorMode) function
with FailCriticalErrors at startup.
This is to prevent error mode dialogs from hanging the application.
|
NoGPUFaultErrorBox |
2 |
The system does not display the Windows Error Reporting dialog.
|
NoOpenFileErrorBox |
32,768 |
The system does not display a message box when it fails to find a file.
Instead, the error is returned to the current thread.
|