WSHttpBindingBase.CreateBindingElements Method ()


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

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

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

override CreateBindingElements : unit -> BindingElementCollection

Return Value

Type: System.ServiceModel.Channels.BindingElementCollection

A BindingElementCollection that contains the BindingElement objects for the binding.

The order of the binding elements is important. It reflects the order in which the protocol and transport channels are constructed and stacked.

This example shows how to get the maximum size for a message.

No code example is currently available or this language may not be supported.

.NET Framework
Available since 3.0
Return to top