次の方法で共有


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

Methods

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.

Remarks

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.

Requirements

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

See Also

Concepts

ICLRAssemblyReferenceList Interface

IHostAssemblyStore Interface

IHostControl Interface

Hosting Interfaces