Edit

Share via


Message.WriteBodyContents(XmlDictionaryWriter) Method

Definition

Serializes the body content using the specified XmlDictionaryWriter.

public:
 void WriteBodyContents(System::Xml::XmlDictionaryWriter ^ writer);
public void WriteBodyContents (System.Xml.XmlDictionaryWriter writer);
member this.WriteBodyContents : System.Xml.XmlDictionaryWriter -> unit
Public Sub WriteBodyContents (writer As XmlDictionaryWriter)

Parameters

writer
XmlDictionaryWriter

An XmlDictionaryWriter object to be used to write the body element.

Exceptions

writer is null.

The message is closed.

The message has been copied, read or written.

Applies to