EndpointAddress.WriteContentsTo Method
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Saves all the child nodes of the node to the XML dictionary writer specified.
Assembly: System.ServiceModel (in System.ServiceModel.dll)
'Declaration Public Sub WriteContentsTo ( _ addressingVersion As AddressingVersion, _ writer As XmlDictionaryWriter _ )
Parameters
- addressingVersion
- Type: System.ServiceModel.Channels.AddressingVersion
The AddressingVersion of the current endpoint address.
- writer
- Type: System.Xml.XmlDictionaryWriter
The XmlDictionaryWriter to which the endpoint address is saved.
| Exception | Condition |
|---|---|
| ArgumentNullException | writer or addressingVersion is Nothing. |
Show: