ICorDebugThread::GetActiveFrame 方法

获取指向此 ICorDebugThread 对象上活动(最新)帧的接口指针。

语法

HRESULT GetActiveFrame (  
    [out] ICorDebugFrame   **ppFrame  
);  

参数

ppFrame
[out] 一个指针,指向表示帧的 ICorDebugFrame 接口对象的地址。

备注

如果当前没有活动帧,则 ppFrame 参数为 NULL。

要求

平台:请参阅系统要求

标头:CorDebug.idl、CorDebug.h

库:CorGuids.lib

.NET Framework 版本:自 1.0 起可用