共用方式為


BindingsSection.GetSection(Configuration) 方法

定義

從指定的組態檔取得區段的組態設定。

public:
 static System::ServiceModel::Configuration::BindingsSection ^ GetSection(System::Configuration::Configuration ^ config);
public static System.ServiceModel.Configuration.BindingsSection GetSection (System.Configuration.Configuration config);
static member GetSection : System.Configuration.Configuration -> System.ServiceModel.Configuration.BindingsSection
Public Shared Function GetSection (config As Configuration) As BindingsSection

參數

config
Configuration

組態檔。

傳回

具有擷取自指定檔案之設定的 BindingsSection

例外狀況

confignull 或是空的。

適用於