ICorDebugThread::GetActiveFrame 方法ICorDebugThread::GetActiveFrame Method

取得這個 ICorDebugThread 物件上作用中 (最近) 框架的介面指標。Gets an interface pointer to the active (most recent) frame on this ICorDebugThread object.

語法Syntax

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

參數Parameters

ppFrame
擴展ICorDebugFrame 介面物件位址的指標,該物件表示框架。[out] A pointer to the address of an ICorDebugFrame interface object that represents a frame.

備註Remarks

ppFrame如果目前沒有使用中的框架,則參數為 null。The ppFrame parameter is null if no frame is currently active.

規格需求Requirements

平台: 請參閱 系統需求Platforms: See System Requirements.

標頭: CorDebug.idl、CorDebug.hHeader: CorDebug.idl, CorDebug.h

程式庫: CorGuids.libLibrary: CorGuids.lib

.NET Framework 版本:自 1.0 起可用Available since 1.0.NET Framework Versions: 自 1.0 起可用Available since 1.0