MessageHeaders.GetReaderAtHeader Method (Int32)

 

Gets a XML dictionary reader that consumes the message header at the specified location of the collection.

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

public XmlDictionaryReader GetReaderAtHeader(
	int headerIndex
)

Parameters

headerIndex
Type: System.Int32

The zero-based index of the header to get.

Return Value

Type: System.Xml.XmlDictionaryReader

An XmlDictionaryReader object that consumes the message header at the specified location of the collection.

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: