ServiceModelSectionGroup.GetSectionGroup Method (Configuration)

 

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

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

public static ServiceModelSectionGroup GetSectionGroup(
	Configuration config
)

Parameters

config
Type: System.Configuration.Configuration

A Configuration that represents a configuration file.

Return Value

Type: System.ServiceModel.Configuration.ServiceModelSectionGroup

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

Exception Condition
ArgumentNullException

config is null.

.NET Framework
Available since 3.0
Return to top
Show: