共用方式為


ICorDebugProcess::EnumerateAppDomains 方法

列舉此程式中的所有應用程式網域。

語法

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

參數

ppAppDomains [出] ICorDebugAppDomainEnum 位址的指標,該位址是此程式中應用程式網域的列舉值。

備註

這個方法可以在 ICorDebugManagedCallback::CreateProcess 回呼之前使用。

需求

平台: 請參閱 .NET 支援的作業系統

標題: CorDebug.idl、CorDebug.h

圖書館: CorGuids.lib

.NET 版本: 自 .NET Framework 2.0 起提供