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

适用于