ICorDebugAppDomain::IsAttached 方法

获取指示调试程序是否附加到应用程序域的值。

语法

HRESULT IsAttached (  
    [out] BOOL  *pbAttached  
);  

参数

pbAttached
[out] 如果调试程序附加到应用程序域,则为 true;否则为 false

备注

在调试程序附加到应用程序域之前,不能使用 ICorDebugController 方法。

要求

平台:请参阅系统要求

标头:CorDebug.idl、CorDebug.h

库:CorGuids.lib

.NET Framework 版本:自 1.0 起可用