BodyWriter.OnWriteBodyContents Method
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
When implemented, provides an extensibility point when the body contents are written.
Assembly: System.ServiceModel (in System.ServiceModel.dll)
'Declaration Protected MustOverride Sub OnWriteBodyContents ( _ writer As XmlDictionaryWriter _ )
Parameters
- writer
- Type: System.Xml.XmlDictionaryWriter
The XmlDictionaryWriter used to write out the message body.
This method must be implemented by classes derived from BodyWriter. This is the key method that writes the body. If the BodyWriter is buffered then this method is called only once.
Show: