Redaguoti

ISOSDacInterface::GetMethodDescName Method

Gets the name that corresponds to a MethodDesc address.

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 GetMethodDescName(CLRDATA_ADDRESS methodDesc, unsigned int count, wchar_t *name, unsigned int *pNeeded);

Parameters

methodDesc
[in] The address of the MethodDesc.

count
[in] The size of the name buffer, in wide characters.

name
[out] A buffer that receives the MethodDesc name.

pNeeded
[out] The number of wide characters required for the MethodDesc name.

Remarks

The provided method is part of the ISOSDacInterface interface and corresponds to the 23rd slot of the virtual method table.

Requirements

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

See also