IHostAssemblyManager 介面

提供方法讓主機指定應該由 Common Language Runtime (CLR) 或主機載入的組件集。

方法

方法 描述
GetAssemblyStore 方法 取得 IHostAssemblyStore 的介面指標,其代表主機所載入的組件清單。
GetNonHostStoreAssemblies 方法 取得 ICLRAssemblyReferenceList 的介面指標,其代表主機預期 CLR 載入的組件清單。

備註

實作 IHostAssemblyManager 或 IHostAssemblyStore 不需要主機。 如果主機確實實作 IHostAssemblyManager,其也必須實作 IHostAssemblyStore。

執行階段會藉由在以 IID_IHostAssemblyManager 的 IID 初始化時呼叫 IHostControl::GetHostManager 來查詢 IHostAssemblyManager。

規格需求

平台:請參閱系統需求。

標題: MSCorEE.h

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

.NET Framework版本:自 2.0 起可用

另請參閱