ICorDebugAssembly::GetAppDomain 方法

获取接口指针,此指针指向包含此 ICorDebugAssembly 实例的应用程序域。

语法

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

参数

ppAppDomain
[out] 指向 ICorDebugAppDomain 接口地址的指针,此接口表示应用程序域。

备注

如果此程序集是系统程序集,则 GetAppDomain 返回 NULL。

要求

平台:请参阅系统要求

标头:CorDebug.idl、CorDebug.h

库:CorGuids.lib

.NET Framework 版本:自 1.0 起可用