ChannelEndpointElement.Binding 属性

定义

获取或设置要使用的绑定的类型。

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

属性值

String

要使用的绑定的类型。 该类型必须具有一个已注册的配置节,才能加以引用。 该类型是按节名而不是绑定的类型名注册的。

属性

适用于