WriteBody Method

Message.WriteBody Method

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Serializes the body element to XML.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

  NameDescription
Public method WriteBody(XmlDictionaryWriter) Writes the body element using the specified XmlDictionaryWriter.
Public method WriteBody(XmlWriter) Serializes the message body using the specified XmlWriter.
Top

This method writes the body contents as well as the start and end tags of the element.

Show:
© 2017 Microsoft