ErrorOptions ErrorOptions ErrorOptions ErrorOptions Enum

Specifies the type of diagnostic error reporting for a thread.

Syntax

Declaration

public enum ErrorOptionspublic enum ErrorOptionsPublic Enum ErrorOptionspublic enum ErrorOptions

Fields

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.

Device family

Windows 10 (introduced v10.0.10240.0)

API contract

Windows.Foundation.UniversalApiContract (introduced v1)

Attributes

System.FlagsAttribute
Windows.Foundation.Metadata.ContractVersionAttribute

Details

Assembly

Windows.Foundation.Diagnostics.dll