Rediger

Del via


BindingsSection.GetSection(Configuration) Method

Definition

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

public:
 static System::ServiceModel::Configuration::BindingsSection ^ GetSection(System::Configuration::Configuration ^ config);
public static System.ServiceModel.Configuration.BindingsSection GetSection (System.Configuration.Configuration config);
static member GetSection : System.Configuration.Configuration -> System.ServiceModel.Configuration.BindingsSection
Public Shared Function GetSection (config As Configuration) As BindingsSection

Parameters

config
Configuration

A configuration file.

Returns

A BindingsSection with the settings retrieved from the specified file.

Exceptions

config is null or empty.

Applies to