MessageHeaders.WriteHeaderContents Method (Int32, XmlDictionaryWriter)
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Serializes the specified header content using the specified XML writer.
Assembly: System.ServiceModel (in System.ServiceModel.dll)
Parameters
- headerIndex
- Type: System.Int32
The zero-based index of the header to be serialized.
- writer
- Type: System.Xml.XmlDictionaryWriter
An XmlDictionaryWriter.
Show: