ICorDebugProcess::EnumerateAppDomains 方法

枚举此过程中的所有应用程序域。

Syntax

HRESULT EnumerateAppDomains(
    [out] ICorDebugAppDomainEnum **ppAppDomains);

参数

ppAppDomains [out]指向 ICorDebugAppDomainEnum 地址的指针,该地址是此进程中应用程序域的枚举器。

注解

此方法可在 ICorDebugManagedCallback::CreateProcess 回调之前使用。

要求

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

页眉: CorDebug.idl、CorDebug.h

图书馆: CorGuids.lib

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