共用方式為


ServiceHostBase.LoadConfigurationSection(ServiceElement) 方法

定義

從裝載之服務的組態檔載入服務項目。

protected:
 void LoadConfigurationSection(System::ServiceModel::Configuration::ServiceElement ^ serviceSection);
protected void LoadConfigurationSection (System.ServiceModel.Configuration.ServiceElement serviceSection);
member this.LoadConfigurationSection : System.ServiceModel.Configuration.ServiceElement -> unit
Protected Sub LoadConfigurationSection (serviceSection As ServiceElement)

參數

serviceSection
ServiceElement

要從組態載入的 ServiceElement

例外狀況

serviceSectionnull

裝載之服務的描述為 null

適用於