Gets an enumerator for the domains in the current process.
The operation was successful.
The operation failed to complete.
An unknown, catastrophic failure occurred. If a method returns E_FAIL, the common language runtime (CLR) is no longer usable in the process. Subsequent calls to any hosting APIs return HOST_E_CLRNOTAVAILABLE.
The CLR has not been loaded into a process, or the CLR is in a state in which it cannot run managed code or process the call successfully.
Platforms: See .NET Framework System Requirements.
Library: Included as a resource in MSCorEE.dll
.NET Framework Version: 1.0, 1.1