ICorDebugFrame::GetFunction 方法

获取包含与此堆栈帧关联的代码的函数。

语法

HRESULT GetFunction (  
    [out] ICorDebugFunction  **ppFunction  
);  

参数

ppFunction
[out] 指向 ICorDebugFunction 对象地址的指针,此对象表示包含与此堆栈帧关联的代码的函数。

备注

如果帧未与任何特定函数关联,则 GetFunction 方法可能会失败。

要求

平台:请参阅系统要求

标头:CorDebug.idl、CorDebug.h

库:CorGuids.lib

.NET Framework 版本:自 1.0 起可用