IHostAssemblyManager Interface
TOC
Collapse the table of content
Expand the table of content

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 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: See .NET Framework System Requirements.

Header: MSCorEE.idl

Library: Included as a resource in MSCorEE.dll

.NET Framework Versions: 3.5 SP1, 3.5, 3.0 SP1, 3.0, 2.0 SP1, 2.0

Community Additions

ADD
Show:
© 2016 Microsoft