Share via

ErrorOptions Enum


Specifies the type of diagnostic error reporting for a thread.

This enumeration supports a bitwise combination of its member values.

public enum class ErrorOptions
/// [System.Flags]
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
enum class ErrorOptions
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
public enum ErrorOptions
var value = Windows.Foundation.Diagnostics.ErrorOptions.none
Public Enum ErrorOptions

Windows requirements

Device family
Windows 10 (introduced in 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v1.0)


ForceExceptions 2

Exceptions are reported.

None 0

No error reporting occurs for the thread.

SuppressExceptions 1

Exceptions are suppressed and not reported.

SuppressSetErrorInfo 8

Error information for SetErrorInfo is suppressed and not reported.

UseSetErrorInfo 4

Error information for SetErrorInfo is used.

Applies to

See also