Redigera

Dela via


ServiceModelActivationSectionGroup.GetSectionGroup(Configuration) Method

Definition

Gets the System.ServiceModel.Activation configuration section group from the specified configuration file.

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

Parameters

config
Configuration

A Configuration that represents a configuration file.

Returns

A ServiceModelActivationSectionGroup that represents the System.ServiceModel.Activation settings in the configuration file.

Remarks

You can use this method to extract the activation configuration settings from a configuration file.

Applies to