Share via


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: 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

See Also

Reference

AppDomainManager

ICLRRuntimeHost Interface

ICLRControl Interface

Other Resources

Hosting Interfaces