Redigera

Dela via


ServiceEndpointElement.Binding Property

Definition

Gets or sets a string that specifies the type of binding to use.

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

Property Value

The type of binding to use.

Attributes

Remarks

The type must have a registered configuration section in order to be referenced. The type is registered by section name, rather than by the type name of the binding.

Applies to