共用方式為


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 設定。

備註

您可以使用這個方法從組態檔中擷取啟用組態設定。

適用於