WriteStartHeader Method (Int32, XmlDictionaryWriter)
Collapse the table of content
Expand the table of content

MessageHeaders.WriteStartHeader Method (Int32, XmlDictionaryWriter)

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Serializes the start header using the specified XML writer.

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

public void WriteStartHeader(
	int headerIndex,
	XmlDictionaryWriter writer
)

Parameters

headerIndex
Type: System.Int32
The zero-based index of the header to be serialized.
writer
Type: System.Xml.XmlDictionaryWriter
An XmlDictionaryWriter.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2017 Microsoft