Not
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Gets the function that is specified by the metadata token.
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 Microsoft intermediate language (MSIL) method.
Requirements
Platforms: See .NET Framework System Requirements.
Header: CorDebug.idl
Library: CorGuids.lib
.NET Framework Versions: 3.5 SP1, 3.5, 3.0 SP1, 3.0, 2.0 SP1, 2.0, 1.1, 1.0