This documentation is archived and is not being maintained.

IHostAssemblyManager Interface

Provides methods that allow a host to specify sets of assemblies that should be loaded by the common language runtime (CLR) or by the host.

interface IHostAssemblyManager: IUnknown {
    HRESULT GetAssemblyStore (
        [out] IHostAssemblyStore **ppAssemblyStore
    HRESULT GetNonHostStoreAssemblies (
        [out] ICLRAssemblyReferenceList** ppReferenceList



IHostAssemblyManager::GetAssemblyStore Method

Gets an interface pointer to an IHostAssemblyStore that represents the list of assemblies loaded by the host.

IHostAssemblyManager::GetNonHostStoreAssemblies Method

Gets an interface pointer to an ICLRAssemblyReferenceList that represents the list of assemblies that the host expects the CLR to load.

The host is not required to implement IHostAssemblyManager or IHostAssemblyStore. If the host does implement IHostAssemblyManager, it must also implement IHostAssemblyStore.

The runtime queries for an IHostAssemblyManager by calling IHostControl::GetHostManager upon initialization with an IID of IID_IHostAssemblyManager.

Platforms: Windows 2000, Windows XP, Windows Server 2003 family

Header: MSCorEE.idl

Library: Included as a resource in MSCorEE.dll

.NET Framework Version: 2.0