Export (0) Print
Expand All

BindingElementCollection.AddRange Method

Adds binding elements from an array to the collection of binding elements.

Namespace:  System.ServiceModel.Channels
Assemblies:   System.ServiceModel.Primitives (in System.ServiceModel.Primitives.dll)
  System.ServiceModel (in System.ServiceModel.dll)

public void AddRange(
	params BindingElement[] elements
)

Parameters

elements
Type: System.ServiceModel.Channels.BindingElement[]

The Array of type BindingElement to be added to 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