更新:2007 年 11 月
获取包含与此堆栈帧关联的代码的函数。
HRESULT GetFunction (
[out] ICorDebugFunction **ppFunction
);
参数
- ppFunction
[out] 一个指向 ICorDebugFunction 对象地址的指针,该对象表示包含与此堆栈帧关联的代码的函数。
备注
如果此帧与任何特定函数都不关联,则 GetFunction 可能会失败。
要求
**平台:**请参见 .NET Framework 系统要求。
**头文件:**CorDebug.idl
**库:**CorGuids.lib
**.NET Framework 版本:**3.5 SP1、3.5、3.0 SP1、3.0、2.0 SP1、2.0、1.1、1.0