ServiceEndpointElement.Binding Property

Definition

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

C#
[System.Configuration.ConfigurationProperty("binding", Options=System.Configuration.ConfigurationPropertyOptions.IsKey | System.Configuration.ConfigurationPropertyOptions.IsRequired)]
[System.Configuration.StringValidator(MinLength=1)]
public string Binding { get; set; }
C#
[System.Configuration.ConfigurationProperty("binding", Options=System.Configuration.ConfigurationPropertyOptions.IsKey)]
[System.Configuration.StringValidator(MinLength=0)]
public string Binding { get; set; }

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

Product Versions
.NET Framework 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1