Error​Options Error​Options Error​Options Enum


Specifies the type of diagnostic error reporting for a thread.

public : enum class ErrorOptionspublic enum ErrorOptionsPublic Enum ErrorOptions
System.FlagsAttribute ContractVersionAttribute
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)


ForceExceptions ForceExceptions ForceExceptions

Exceptions are reported.

None None None

No error reporting occurs for the thread.

SuppressExceptions SuppressExceptions SuppressExceptions

Exceptions are suppressed and not reported.

SuppressSetErrorInfo SuppressSetErrorInfo SuppressSetErrorInfo

Error information for SetErrorInfo is suppressed and not reported.

UseSetErrorInfo UseSetErrorInfo UseSetErrorInfo

Error information for SetErrorInfo is used.