ICorDebugAssembly::GetAppDomain 方法

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

Syntax

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

参数

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

注解

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

要求

平台: 请参阅 .NET 支持的作系统

页眉: CorDebug.idl、CorDebug.h

图书馆: CorGuids.lib

.NET 版本: 自 .NET Framework 1.0 起可用