Uredi

Deli z drugimi prek


IXCLRDataMethodDefinition Interface

Provides methods for querying information about a method definition.

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.

Methods

The following methods are some of the methods available in the interface.

Method Description
StartEnumInstances Provides a handle for the enumeration of method instances for a given IXCLRDataAppDomain.
EnumInstance Enumerates the instances of this method definition.
EndEnumInstances Releases the resources used by internal iterators used during instance enumeration.
Request Requests to populate the buffer given with the method's data.
GetRepresentativeEntryAddress Gets the most representative start address of the native code for this method.
GetTokenAndScope Gets the metadata token and scope of the method.
StartEnumExtents Method Provides a handle for the enumeration of IL code regions associated with the method.
EnumExtent Enumerates the IL code regions associated with this method.
EndEnumExtents Releases the resources used by internal iterators used during IL code region enumeration.

Remarks

This interface lives inside the runtime and is not exposed through any headers or library files. However, it's a COM interface that derives from IUnknown with GUID AAF60008-FB2C-420b-8FB1-42D244A54A97 that can be obtained through the usual COM mechanisms.

Requirements

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

See also