Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

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
    );
};
Method Description

IHostAssemblyManager::GetAssemblyStore Method

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

IHostAssemblyManager::GetNonHostStoreAssemblies Method

Gets an interface pointer to an ICLRAssemblyReferenceList Interface 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 Method 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

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.