WSHttpBindingBase.CreateBindingElements Method ()

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com 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)

Public Overrides Function CreateBindingElements As 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.

Dim bindingElements As BindingElementCollection = binding1.CreateBindingElements()

.NET Framework
Available since 3.0
Return to top
Show: