ErrorOptions 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 ErrorOptions
enum class winrt::Windows::Foundation::Diagnostics::ErrorOptions : uint32_t
public enum ErrorOptions
Public Enum ErrorOptions
var value = Windows.Foundation.Diagnostics.ErrorOptions.forceExceptions;
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 ForceExceptions

Exceptions are reported.

None None None None None

No error reporting occurs for the thread.

SuppressExceptions SuppressExceptions SuppressExceptions SuppressExceptions SuppressExceptions

Exceptions are suppressed and not reported.

SuppressSetErrorInfo SuppressSetErrorInfo SuppressSetErrorInfo SuppressSetErrorInfo SuppressSetErrorInfo

Error information for SetErrorInfo is suppressed and not reported.

UseSetErrorInfo UseSetErrorInfo UseSetErrorInfo UseSetErrorInfo UseSetErrorInfo

Error information for SetErrorInfo is used.