共用方式為


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

適用於