Freigeben über


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

Methods

Method Description

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.

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

Reference

ICLRRuntimeHost Interface
ICLRControl Interface
AppDomainManager

Other Resources

Hosting Interfaces