Nota
L'accesso a questa pagina richiede l'autorizzazione. È possibile provare ad accedere o modificare le directory.
L'accesso a questa pagina richiede l'autorizzazione. È possibile provare a modificare le directory.
Specifica il comportamento delle funzioni RoOriginateError e RoTransformError .
Sintassi
typedef enum {
RO_ERROR_REPORTING_NONE = 0x00000000,
RO_ERROR_REPORTING_SUPPRESSEXCEPTIONS = 0x00000001,
RO_ERROR_REPORTING_FORCEEXCEPTIONS = 0x00000002,
RO_ERROR_REPORTING_USESETERRORINFO = 0x00000004,
RO_ERROR_REPORTING_SUPPRESSSETERRORINFO = 0x00000008
} RO_ERROR_REPORTING_FLAGS;
Costanti
RO_ERROR_REPORTING_NONEValore: 0x00000000 Le funzioni di errore generano eccezioni strutturate quando viene collegato un debugger. |
RO_ERROR_REPORTING_SUPPRESSEXCEPTIONSValore: 0x00000001 Le funzioni di errore non generano eccezioni strutturate, anche quando è presente un debugger. Eseguire l'override del comportamento di questo flag impostando il flag ForceExceptions . |
RO_ERROR_REPORTING_FORCEEXCEPTIONSValore: 0x00000002 Le funzioni di errore generano eccezioni strutturate, anche se non è presente alcun debugger. Questo flag sostituisce il flag di RO_ERROR_REPORTING_SUPPRESSEXCEPTIONS . Se questo flag è impostato, vengono generate eccezioni strutturate anche se il flag di RO_ERROR_REPORTING_SUPPRESSEXCEPTIONS è impostato. |
RO_ERROR_REPORTING_USESETERRORINFOValore: 0x00000004 Le funzioni di errore segnalano stringhe di errore tramite un oggetto COM collegato al canale COM tramite l'infrastruttura SetRestrictedErrorInfo . Per la riuscita della chiamata SetRestrictedErrorInfo , il thread deve essere inizializzato in COM. |
RO_ERROR_REPORTING_SUPPRESSSETERRORINFOValore: 0x00000008 Le funzioni di errore non segnalano stringhe di errore tramite un oggetto COM collegato al canale COM tramite l'infrastruttura SetRestrictedErrorInfo . |
Commenti
Usare l'enumerazione RO_ERROR_REPORTING_FLAGS con la funzione RoSetErrorReportingFlags per specificare il comportamento delle funzioni RoOriginateError, RoOriginateErrorW, RoTransformError e RoTransformErrorW.
Requisiti
| Requisito | Valore |
|---|---|
| Client minimo supportato | Windows 8 |
| Server minimo supportato | Windows Server 2012 |
| Intestazione | roerrorapi.h |