ErrorOptions ErrorOptions ErrorOptions ErrorOptions Enum


Specifies the type of diagnostic error reporting for a thread.

This enumeration has a System.FlagsAttribute attribute that allows a bitwise combination of its member values.

public : enum class ErrorOptionspublic enum ErrorOptionsPublic Enum ErrorOptions// You can use this enum in JavaScript.
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 ForceExceptions

Exceptions are reported.

None None None None

No error reporting occurs for the thread.

SuppressExceptions SuppressExceptions SuppressExceptions SuppressExceptions

Exceptions are suppressed and not reported.

SuppressSetErrorInfo SuppressSetErrorInfo SuppressSetErrorInfo SuppressSetErrorInfo

Error information for SetErrorInfo is suppressed and not reported.

UseSetErrorInfo UseSetErrorInfo UseSetErrorInfo UseSetErrorInfo

Error information for SetErrorInfo is used.