ICorDebugAppDomain::IsAttached 方法

取得一個值來表示偵錯工具是否附加至應用程式定義域。

語法

HRESULT IsAttached (  
    [out] BOOL  *pbAttached  
);  

參數

pbAttached
[out] 如果偵錯工具附加至應用程式定義域,則為 true;否則為 false

備註

除非偵錯工具附加至應用程式定義域,否則無法使用 ICorDebugController 方法。

規格需求

平台:請參閱系統需求

標頭:CorDebug.idl、CorDebug.h

程式庫:CorGuids.lib

.NET Framework版本:自 1.0 起可用