ServiceModelActivationSectionGroup.GetSectionGroup(Configuration) 方法

定义

从指定的配置文件中获取 System.ServiceModel.Activation 配置节组。

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

参数

config
Configuration

一个表示配置文件的 Configuration

返回

一个 ServiceModelActivationSectionGroup,表示配置文件中的 System.ServiceModel.Activation 设置。

注解

可以使用此方法从配置文件中提取激活配置设置。

适用于