IXCLRDataExceptionNotification5::OnCodeGenerated2 Method

Client implemented callback which is made during a call to IXCLRDataProcess::TranslateExceptionRecordToNotification when a given exception represents the generation of code for a particular method instance.

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 OnCodeGenerated2(
    [in] IXCLRDataMethodInstance *method,
    [in] CLRDATA_ADDRESS nativeCodeLocation
);

Parameters

method
[in] The method instance for which code was generated.

nativeCodeLocation
[in] The starting address of the newly jitted code.

Remarks

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

Requirements

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

See also