共用方式為


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