ICorDebugProcess::EnumerateAppDomains 方法
列舉此處理序中的所有應用程式定義域。
語法
HRESULT EnumerateAppDomains(
[out] ICorDebugAppDomainEnum **ppAppDomains);
參數
ppAppDomains
[out] ICorDebugAppDomainEnum 的位址指標,其為此處理序中應用程式定義域的列舉程式。
備註
此法可以在 ICorDebugManagedCallback::CreateProcess 回呼之前使用。
規格需求
平台:請參閱系統需求。
標頭:CorDebug.idl、CorDebug.h
程式庫:CorGuids.lib
.NET Framework版本:自 2.0 起可用