Uredi

Deli z drugimi prek


ISOSDacInterface::GetMethodDescData Method

Gets the data for the given MethodDesc pointer.

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 GetMethodDescData(
    CLRDATA_ADDRESS            methodDesc,
    CLRDATA_ADDRESS            ip,
    DacpMethodDescData *data,
    ULONG                      cRevertedRejitVersions,
    DacpReJitData      *rgRevertedRejitData,
    void                      *pcNeededRevertedRejitData
);

Parameters

methodDesc
[in] The address of the MethodDesc.

ip
[in] The IP address of the method.

data
[out] The data associated with the MethodDesc as returned from the internal APIs.

cRevertedRejitVersions
[out] The number of reverted rejit versions.

rgRevertedRejitData
[out] The data associated with the reverted rejit versions as returned from the internal APIs.

pcNeededRevertedRejitData
[out] The number of bytes required to store the data associated with the reverted ReJit versions.

Remarks

The provided method is part of the ISOSDacInterface interface and corresponds to the 21st slot of the virtual method table. To be able to use them, CLRDATA_ADDRESS must be defined as a 64-bit unsigned integer.

Requirements

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

See also