Gets an enumerator for the application domains in the process that is referenced by this ICorPublishProcess.
HRESULT EnumAppDomains ( [out] ICorPublishAppDomainEnum **ppEnum );
[out] A pointer to the address of an ICorPublishAppDomainEnum instance that allows iteration through the collection of application domains in this process.
The list of application domains is based on a snapshot of the application domains that exist when the
EnumAppDomains method is called. This method may be called more than once to create a new up-to-date list. Existing lists will not be affected by subsequent calls of this method.
If the process has been terminated,
EnumAppDomains will fail with an HRESULT value of CORDBG_E_PROCESS_TERMINATED.
Platforms: See System Requirements.
Header: CorPub.idl, CorPub.h
.NET Framework Versions: Available since 1.0
Submit and view feedback for