Editar

Compartilhar via


ServiceModelSectionGroup.GetSectionGroup(Configuration) Method

Definition

Gets the system.ServiceModel configuration section group from the specified configuration file.

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

Parameters

config
Configuration

A Configuration that represents a configuration file.

Returns

A ServiceModelSectionGroup that represents the system.ServiceModel settings in configuration.

Exceptions

config is null.

Applies to