AddressHeader::WriteAddressHeader Method (XmlDictionaryWriter^)
.NET Framework (current version)
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.
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: