ICorDebugProcess::EnumerateAppDomains 方法

更新:2007 年 11 月

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

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

参数

  • ppAppDomains
    [out] 一个指向 ICorDebugAppDomainEnum(此进程中应用程序域的枚举数)地址的指针。

备注

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

要求

**平台:**请参见 .NET Framework 系统要求

**头文件:**CorDebug.idl

**库:**CorGuids.lib

**.NET Framework 版本:**3.5 SP1、3.5、3.0 SP1、3.0、2.0 SP1、2.0

请参见

参考

ICorDebugProcess

ICorDebugProcess2