Compartir a través de


ServiceEndpoint.Binding Property

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Gets or sets the binding for the service endpoint.

Namespace:  System.ServiceModel.Description
Assembly:  System.ServiceModel (in System.ServiceModel.dll)

Syntax

'Declaration
Public Property Binding As Binding
public Binding Binding { get; set; }

Property Value

Type: System.ServiceModel.Channels.Binding
The Binding for the service endpoint.

Remarks

The binding for an endpoint can also be specified in the configuration file in the <bindings> element.

Version Information

Silverlight

Supported in: 5, 4, 3

Silverlight for Windows Phone

Supported in: Windows Phone OS 7.1, Windows Phone OS 7.0

XNA Framework

Supported in: Windows Phone OS 7.0

Platforms

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.