Share via


ICLRControl Interface

Provides methods that allow a host to get references to, and configure aspects of, the common language runtime (CLR).

interface ICLRControl : IUnknown {
    HRESULT GetCLRManager (
        [in] IIDREF riid,
        [out] void **ppObject
    );
    HRESULT SetAppDomainManagerType (
        [in] LPCWSTR pwzAppDomainManagerAssembly,
        [in] LPCWSTR pwzAppDomainManagerType
    );
};

Methods

Method

Description

ICLRControl::GetCLRManager Method

Gets an interface pointer to an instance of any of the manager types the host can use to configure the CLR.

ICLRControl::SetAppDomainManagerType Method

Sets a type derived from AppDomainManager as the type for application domain managers.

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

Concepts

ICLRAssemblyIdentityManager Interface

ICLRDebugManager Interface

ICLRGCManager Interface

ICLRHostBindingPolicyManager Interface

ICLRHostProtectionManager Interface

ICLROnEventManager Interface

ICLRPolicyManager Interface

IHostControl Interface

Hosting Interfaces