Bagikan melalui


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.

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

Header: MSCorEE.h

Library: Included as a resource in MSCorEE.dll

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

See Also

Reference

ICLRAssemblyReferenceList Interface

IHostAssemblyStore Interface

IHostControl Interface

Other Resources

Hosting Interfaces