MessageHeader.OnWriteHeaderContents Method
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Called when the header content is serialized using the specified XML writer.
Assembly: System.ServiceModel (in System.ServiceModel.dll)
'Declaration Protected MustOverride Sub OnWriteHeaderContents ( _ writer As XmlDictionaryWriter, _ messageVersion As MessageVersion _ )
Parameters
- writer
- Type: System.Xml.XmlDictionaryWriter
An XmlDictionaryWriter.
- messageVersion
- Type: System.ServiceModel.Channels.MessageVersion
Contains information related to the version of SOAP associated with a message and its exchange.
Show: