共用方式為


ICorDebugFrame::GetFunction 方法

更新:2007 年 11 月

取得函式,此函式包含與此堆疊框架 (Stack Frame) 相關聯的程式碼。

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

請參閱

參考

ICorDebugFrame