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



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.

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

Community Additions