共用方式為


ICLRControl

更新:2007 年 11 月

提供方法讓主應用程式取得 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 方法

取得介面指標,指向主應用程式可用來設定 CLR 的任何管理員類型的執行個體。

ICLRControl::SetAppDomainManagerType 方法

將衍生自 AppDomainManager 的型別設定為應用程式定義域管理員的型別。

需求

**平台:**請參閱 .NET Framework 系統需求

**標頭:**MSCorEE.idl

程式庫:包含做為 MSCorEE.dll 中的資源

**.NET Framework 版本:**3.5 SP1、3.5、3.0 SP1、3.0、2.0 SP1、2.0

請參閱

參考

ICLRAssemblyIdentityManager

ICLRDebugManager

ICLRGCManager

ICLRHostBindingPolicyManager

ICLRHostProtectionManager

ICLROnEventManager

ICLRPolicyManager

IHostControl

其他資源

裝載介面