This documentation is archived and is not being maintained.

AddressHeaderCollection Class

Represents a thread-safe, read-only collection of address headers.

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

Public NotInheritable Class AddressHeaderCollection _
	Inherits ReadOnlyCollection(Of AddressHeader)
Dim instance As AddressHeaderCollection

The AddressHeaderCollection can be initialized with an IEnumerable(Of T) set of AddressHeader objects and then searched for a header with a specific qualified name using the FindHeader(String, String) method. To find all of the headers with a specific qualified name, use the FindAll(String, String) method. The AddHeadersTo(Message) method is used to add headers to the headers of a specified message.

  System.Collections.ObjectModel.ReadOnlyCollection(Of AddressHeader)

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003, Windows CE, Windows Mobile for Smartphone, Windows Mobile for Pocket PC

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

.NET Framework

Supported in: 3.5, 3.0

.NET Compact Framework

Supported in: 3.5