AddressHeader.WriteAddressHeader Method (XmlDictionaryWriter)
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Writes the address header to a stream or file using a specified XmlDictionaryWriter.
Assembly: System.ServiceModel (in System.ServiceModel.dll)
Parameters
- writer
- Type: System.Xml.XmlDictionaryWriter
The XmlDictionaryWriter used to write the address header to a stream or file.
| Exception | Condition |
|---|---|
| ArgumentNullException | The writer is null. |
This overload calls the abstract
OnWriteAddressHeaderContents(XmlDictionaryWriter) method, so users must provide an implementation of that method to use this method.
Show: