AddressHeaderCollection Constructor (IEnumerable(AddressHeader))

AddressHeaderCollection Constructor (IEnumerable<AddressHeader>)

Initializes a new instance of the AddressHeaderCollection class from an enumerable set of address headers.

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

public AddressHeaderCollection(
	IEnumerable<AddressHeader> addressHeaders
)

Parameters

addressHeaders
Type: System.Collections.Generic.IEnumerable<AddressHeader>
The IEnumerable<T> set of AddressHeader objects used to initialize the collection.

ExceptionCondition
ArgumentException

One of the address headers in the addressHeaders parameter is null.

The following code snippet illustrates how to create an instance of AddressHeaderCollection class.

Silverlight

Supported in: 5, 4, 3

Silverlight for Windows Phone

Supported in: Windows Phone OS 7.1, Windows Phone OS 7.0

XNA Framework

Supported in: Windows Phone OS 7.0

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

Community Additions

ADD
Show:
© 2016 Microsoft