AddressHeader::WriteAddressHeader Method (XmlWriter^)
.NET Framework (current version)
Writes the address header to a stream or file using a specified XmlWriter.
Assembly: System.ServiceModel (in System.ServiceModel.dll)
| Exception | Condition |
|---|---|
| ArgumentNullException | The writer is null. |
This overload wraps XmlWriter as a XmlDictionaryWriter and then the calls the abstract
OnWriteAddressHeaderContents(XmlDictionaryWriter^) method. Users must provide an implementation for that abstract method to use this overload.
The following example shows how to call this method.
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
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
Show: