WriteHeaderAttributes Method

MessageHeader.WriteHeaderAttributes Method

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

Serializes the header contents using the specified XML writer.

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

protected void WriteHeaderAttributes(
	XmlDictionaryWriter writer,
	MessageVersion messageVersion
)

Parameters

writer
Type: System.Xml.XmlDictionaryWriter
An XmlDictionaryWriter.
messageVersion
Type: System.ServiceModel.Channels.MessageVersion
Contains information related to the version of SOAP associated with a message and its exchange.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2017 Microsoft