This documentation is archived and is not being maintained.

IHostControl Interface

Provides methods for configuring the loading of assemblies, and for determining which hosting interfaces the host supports.

interface IHostControl : IUnknown {

    HRESULT GetHostManager (
        [in] REFIID riid, 
        [out, iid_is(riid)] IUnknown** ppObject
    HRESULT SetAppDomainManager (
        [in] DWORD dwAppDomainID,
        [in] IUnknown* pUnkAppDomainManager



IHostControl::GetHostManager Method

Gets an interface pointer to the host's implementation of the interface with the specified IID.

IHostControl::SetAppDomainManager Method

Notifies the host that an application domain has been created.

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