BindingElementCollection Constructor (IEnumerable<BindingElement>)

 

Initializes a new instance of the BindingElementCollection class from an enumerable set of binding elements.

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

public BindingElementCollection(
	IEnumerable<BindingElement> elements
)

Parameters

elements
Type: System.Collections.Generic.IEnumerable<BindingElement>

The IEnumerable<T> of generic type BindingElement used to initialize the collection.

Exception Condition
ArgumentNullException

elements is null.

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: