共用方式為


ICorDebugThread::GetAppDomain 方法

取得目前執行此 ICorDebugThread 之應用程式定義域的介面指標。

語法

HRESULT GetAppDomain (  
    [out] ICorDebugAppDomain  **ppAppDomain  
);  

參數

ppAppDomain
[in] ICorDebugAppDomain 物件的指標,代表目前執行此執行緒的應用程式定義域。

規格需求

平台:請參閱系統需求

標頭:CorDebug.idl、CorDebug.h

程式庫:CorGuids.lib

.NET Framework版本:自 1.0 起可用