共用方式為


ServiceEndpointElement.Binding 屬性

定義

取得或設定字串,指定要使用之繫結的型別。

public:
 property System::String ^ Binding { System::String ^ get(); void set(System::String ^ value); };
[System.Configuration.ConfigurationProperty("binding", Options=System.Configuration.ConfigurationPropertyOptions.IsKey | System.Configuration.ConfigurationPropertyOptions.IsRequired)]
[System.Configuration.StringValidator(MinLength=1)]
public string Binding { get; set; }
[System.Configuration.ConfigurationProperty("binding", Options=System.Configuration.ConfigurationPropertyOptions.IsKey)]
[System.Configuration.StringValidator(MinLength=0)]
public string Binding { get; set; }
[<System.Configuration.ConfigurationProperty("binding", Options=System.Configuration.ConfigurationPropertyOptions.IsKey | System.Configuration.ConfigurationPropertyOptions.IsRequired)>]
[<System.Configuration.StringValidator(MinLength=1)>]
member this.Binding : string with get, set
[<System.Configuration.ConfigurationProperty("binding", Options=System.Configuration.ConfigurationPropertyOptions.IsKey)>]
[<System.Configuration.StringValidator(MinLength=0)>]
member this.Binding : string with get, set
Public Property Binding As String

屬性值

要使用之繫結的型別。

屬性

備註

此型別必須要有註冊的組態區段,才能加以參考。 型別是以區段名稱進行註冊,而非以繫結的型別名稱進行註冊。

適用於