Σημείωση
Η πρόσβαση σε αυτή τη σελίδα απαιτεί εξουσιοδότηση. Μπορείτε να δοκιμάσετε να συνδεθείτε ή να αλλάξετε καταλόγους.
Η πρόσβαση σε αυτή τη σελίδα απαιτεί εξουσιοδότηση. Μπορείτε να δοκιμάσετε να αλλάξετε καταλόγους.
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 .NET supported operating systems.
Header: CorDebug.idl, CorDebug.h
Library: CorGuids.lib
.NET versions: Available since .NET Framework 1.0