Metodo ISymUnmanagedAsyncMethodPropertiesWriter::DefineCatchHandlerILOffset

Imposta l'offset DEL per il gestore catch generato dal compilatore che esegue il wrapping di un metodo asincrono.

L'offset IL del catch generato viene usato dal debugger per gestire il catch come se fosse codice non utente anche se potrebbe verificarsi in un metodo di codice utente. In particolare, viene usato in risposta a un evento di eccezione CatchHandlerFound .

Sintassi

HRESULT DefineCatchHandlerILOffset(    [in] ULONG32 catchHandlerOffset);  

Parametri

Parametro Descrizione
catchHandlerOffset

Valore restituito

Restituisce HRESULT.

Requisiti

Intestazione: CorSym.idl, CorSym.h

Vedi anche