RoErrorReportingFlags enumeration (roerrorapi.h)

Specifies the behavior of the RoOriginateError and RoTransformError functions.

Syntax

typedef enum {
  None,
  SuppressExceptions,
  ForceExceptions,
  UseSetErrorInfo,
  SuppressSetErrorInfo
} RoErrorReportingFlags;

Constants

 
None
Error functions raise structured exceptions.
SuppressExceptions
Error functions do not raise structured exceptions, even when a debugger is present.
Override the behavior of this flag by setting the ForceExceptions flag.
ForceExceptions
Error functions raise structured exceptions, even if no debugger is present.
This flag supercedes the SuppressExceptions flag.
If this flag is set, structured exceptions are raised even if the SuppressExceptions flag is set.
UseSetErrorInfo
Error functions report error strings through a COM object that is attached to the COM channel through the SetErrorInfo infrastructure.
This flag requires that the calling thread be initialized into COM.
SuppressSetErrorInfo
Error functions do not report error strings through a COM object that is attached to the COM channel through the SetErrorInfo infrastructure.

Requirements

Requirement Value
Header roerrorapi.h

See also

RoGetErrorReportingFlags

RoSetErrorReportingFlags

RoOriginateError

RoTransformError