Condividi tramite


PollingDuplexHttpBinding.CreateBindingElements Method

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

Returns an ordered collection of binding elements contained in the current binding.

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

Syntax

'Declaration
Public Overrides Function CreateBindingElements As BindingElementCollection
public override BindingElementCollection CreateBindingElements()

Return Value

Type: System.ServiceModel.Channels.BindingElementCollection
The BindingElementCollection that contains the ordered stack of binding elements described by the BasicHttpBinding.

Remarks

The order of the binding elements is important. It reflects the order in which the protocol and transport channels are constructed and stacked. This collection of binding elements is a new collection and can be modified and then used to create a CustomBinding.

Version Information

Silverlight

Supported in: 5, 4, 3

Platforms

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