ServiceHostBase::LoadConfigurationSection Method (ServiceElement^)

 

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

Namespace:   System.ServiceModel
Assembly:  System.ServiceModel (in System.ServiceModel.dll)

protected:
void LoadConfigurationSection(
	ServiceElement^ serviceSection
)

Parameters

serviceSection
Type: System.ServiceModel.Configuration::ServiceElement^

The ServiceElement to be loaded from configuration.

Exception Condition
ArgumentNullException

serviceSection is null.

InvalidOperationException

The description of the service hosted is null.

.NET Framework
Available since 3.0
Return to top
Show: