Delen via


ErrorOptions Enum

Definition

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
[System.Flags]
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
public enum ErrorOptions
var value = Windows.Foundation.Diagnostics.ErrorOptions.none
Public Enum ErrorOptions
Inheritance
ErrorOptions
Attributes

Windows requirements

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

Fields

Name Value Description
None 0

No error reporting occurs for the thread.

SuppressExceptions 1

Exceptions are suppressed and not reported.

ForceExceptions 2

Exceptions are reported.

UseSetErrorInfo 4

Error information for SetErrorInfo is used.

SuppressSetErrorInfo 8

Error information for SetErrorInfo is suppressed and not reported.

Applies to

See also