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

ICLRAssemblyIdentityManager Interface

ICLRDebugManager Interface

ICLRGCManager Interface

ICLRHostBindingPolicyManager Interface

ICLRHostProtectionManager Interface

ICLROnEventManager Interface

ICLRPolicyManager Interface

IHostControl Interface

Other Resources

Hosting Interfaces