Bearbeiten

Teilen über


ServiceHostBase.LoadConfigurationSection(ServiceElement) Method

Definition

Loads the service element from the configuration file of the hosted service.

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)

Parameters

serviceSection
ServiceElement

The ServiceElement to be loaded from configuration.

Exceptions

serviceSection is null.

The description of the service hosted is null.

Applies to