ISymUnmanagedAsyncMethodPropertiesWriter::DefineCatchHandlerILOffset Method
Sets the IL offset for the compiler-generated catch handler that wraps an async method.
The IL offset of the generated catch is used by the debugger to handle the catch as if it were non-user code even though it might occur in a user code method. In particular, it is used in response to a CatchHandlerFound exception event.
Syntax
HRESULT DefineCatchHandlerILOffset( [in] ULONG32 catchHandlerOffset);
Parameters
Parameter | Description |
---|---|
catchHandlerOffset |
Return Value
Returns HRESULT
.
Requirements
Header: CorSym.idl, CorSym.h
See also
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.