Export (0) Print
Expand All

BindingElementCollection Constructor (IEnumerable<BindingElement>)

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

Namespace:  System.ServiceModel.Channels
Assemblies:   System.ServiceModel.Primitives (in System.ServiceModel.Primitives.dll)
  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.

ExceptionCondition
ArgumentNullException

elements is null.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

Portable Class Library

Supported in: Portable Class Library

Supported in: Windows Phone 8.1

Supported in: Windows Phone Silverlight 8.1

Supported in: Windows Phone Silverlight 8
Show:
© 2015 Microsoft