Compartir a través de


ICorProfilerInfo::GetFunctionFromToken (Método)

Obtiene el identificador de una función. Este método ha quedado obsoleto en .NET Framework 2.0. Utilice en su lugar el método ICorProfilerInfo2::GetFunctionFromTokenAndTypeArgs.

HRESULT GetFunctionFromToken(
    [in]  ModuleID   moduleId,
    [in]  mdToken    token,
    [out] FunctionID *pFunctionId);

Comentarios

El método GetFunctionFromToken no funcionará para las funciones genéricas o las funciones de tipos genéricos; ahora ha quedado obsoleto. Utilice ICorProfilerInfo2::GetFunctionFromTokenAndTypeArgs para todas las funciones.

Requisitos

Plataformas: vea Requisitos de sistema de .NET Framework.

Encabezado: CorProf.idl, CorProf.h

Biblioteca: CorGuids.lib

Versiones de .NET Framework: 1.1, 1.0

Vea también

Referencia

ICorProfilerInfo (Interfaz)