ICorProfilerInfo::GetTokenAndMetadataFromFunction Method
Gets the metadata token and a metadata interface instance that can be used against the token for the specified function.
Syntax
HRESULT GetTokenAndMetaDataFromFunction(
[in] FunctionID functionId,
[in] REFIID riid,
[out] IUnknown **ppImport,
[out] mdToken *pToken);
Parameters
functionId
[in] The ID of the function for which to get the metadata token and metadata interface.
riid
[in] The reference ID of the metadata interface to get the instance of.
ppImport
[out] A pointer to the address of the metadata interface instance that can be used against the token for the specified function.
pToken
[out] A pointer to the metadata token for the specified function.
Requirements
Platforms: See System Requirements.
Header: CorProf.idl, CorProf.h
Library: CorGuids.lib
.NET Framework Versions: Available since 2.0
See also
Phản hồi
https://aka.ms/ContentUserFeedback.
Sắp ra mắt: Trong năm 2024, chúng tôi sẽ dần gỡ bỏ Sự cố với GitHub dưới dạng cơ chế phản hồi cho nội dung và thay thế bằng hệ thống phản hồi mới. Để biết thêm thông tin, hãy xem:Gửi và xem ý kiến phản hồi dành cho