ICorDebugModule::GetFunctionFromToken Method
Gets the function that is specified by the metadata token.
Syntax
HRESULT GetFunctionFromToken(
[in] mdMethodDef methodDef,
[out] ICorDebugFunction **ppFunction
);
Parameters
methodDef
[in] A mdMethodDef
metadata token that references the function's metadata.
ppFunction
[out] A pointer to the address of a ICorDebugFunction interface object that represents the function.
Remarks
The GetFunctionFromToken
method returns a CORDBG_E_FUNCTION_NOT_IL HRESULT if the value passed in methodDef
does not refer to a common intermediate language (CIL) method.
Requirements
Platforms: See System Requirements.
Header: CorDebug.idl, CorDebug.h
Library: CorGuids.lib
.NET Framework Versions: Available since 1.0
التعاون معنا على GitHub
يمكن العثور على مصدر هذا المحتوى على GitHub حيث يمكنك أيضاً إضافة مشاكل وطلبات سحب ومراجعتها. للحصول على معلومات إضافية، اطلع على دليل المساهم لدينا.
الملاحظات
https://aka.ms/ContentUserFeedback.
قريبًا: خلال عام 2024، سنتخلص تدريجيًا من GitHub Issues بوصفها آلية إرسال ملاحظات للمحتوى ونستبدلها بنظام ملاحظات جديد. لمزيد من المعلومات، راجعإرسال الملاحظات وعرضها المتعلقة بـ