CustomBinding Constructor (IEnumerable<BindingElement^>^)

 

Initializes a new instance of the CustomBinding class with the binding elements from a complete channel stack.

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

public:
CustomBinding(
	IEnumerable<BindingElement^>^ bindingElementsInTopDownChannelStackOrder
)

Parameters

bindingElementsInTopDownChannelStackOrder
Type: System.Collections.Generic::IEnumerable<BindingElement^>^

An IEnumerable<T> of type BindingElement that contains the binding elements of the channel stack in top-down order.

Exception Condition
ArgumentNullException

bindingElementsInTopDownChannelStackOrder is null.

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

Universal Windows Platform
Available since 8
.NET Framework
Available since 3.0
Portable Class Library
Supported in: portable .NET platforms
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Return to top
Show: