IXCLRDataExceptionNotification4::ExceptionCatcherEnter Method

Client implemented callback which is made during a call to IXCLRDataProcess::TranslateExceptionRecordToNotification when a given exception represents the entry into a managed catch block.

Note

This API was originally designed for internal use in the runtime. Although it is now supported for 3rd party use, we recommend working with ICorDebug and ICorProfiler APIs when possible.

Syntax

HRESULT ExceptionCatcherEnter(
    [in] IXCLRDataMethodInstance *catchingMethod,
    [in] DWORD catcherNativeOffset
);

Parameters

catchingMethod
[in] The method instance which contains the managed catch block

catcherNativeOffset
[in] The native code offset in bytes to the catching block

Remarks

The provided method is part of the IXCLRDataExceptionNotification4 interface and corresponds to the 16th slot of the virtual method table.

Requirements

Platforms: See System Requirements. Header: None Library: None .NET Framework Versions: Available since 4.7

See also