Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

ErrorOptions enumeration

Specifies the behavior of the RoOriginateError and RoTransformError functions..

Syntax


typedef enum _ErrorOptions { 
  None                  = RO_ERROR_REPORTING_NONE,
  SuppressExceptions    = RO_ERROR_REPORTING_SUPPRESSEXCEPTIONS,
  ForceExceptions       = RO_ERROR_REPORTING_FORCEEXCEPTIONS,
  UseSetErrorInfo       = RO_ERROR_REPORTING_USESETERRORINFO,
  SuppressSetErrorInfo  = RO_ERROR_REPORTING_SUPPRESSSETERRORINFO
} ErrorOptions;

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

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Header

Roerrorapi.h

See also

RoGetErrorReportingFlags
RoSetErrorReportingFlags
RoOriginateError
RoTransformError

 

 

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.