ICorDebugAppDomain::IsAttached 方法
获取指示调试程序是否附加到应用程序域的值。
语法
HRESULT IsAttached (
[out] BOOL *pbAttached
);
参数
pbAttached
[out] true
如果调试器附加到应用程序域,则为 ;否则,为 false
.
注解
在调试程序附加到应用程序域之前,不能使用 ICorDebugController 方法。
要求
平台:请参阅系统要求。
标头:CorDebug.idl、CorDebug.h
库:CorGuids.lib
.NET Framework 版本:自 1.0 起可用