This documentation is archived and is not being maintained.

Message.WriteBody Method

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.

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

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