ServiceModelSectionGroup.GetSectionGroup(Configuration) 方法

定义

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

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

参数

config
Configuration

一个表示配置文件的 Configuration

返回

一个 ServiceModelSectionGroup,表示配置中的 system.ServiceModel 设置。

例外

confignull

适用于