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: Windows 2000, Windows XP, Windows Server 2003 family

Header: MSCorEE.idl

Library: Included as a resource in MSCorEE.dll

.NET Framework Version: 2.0