BindingsSection::GetSection Method (Configuration^)

 

Gets the configuration setting of a section from the specified configuration file.

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

public:
static BindingsSection^ GetSection(
	Configuration^ config
)

Parameters

config
Type: System.Configuration::Configuration^

A configuration file.

Return Value

Type: System.ServiceModel.Configuration::BindingsSection^

A BindingsSection with the settings retrieved from the specified file.

Exception Condition
ArgumentNullException

config is null or empty.

.NET Framework
Available since 3.0
Return to top
Show: