Message.WriteBodyContents(XmlDictionaryWriter) Message.WriteBodyContents(XmlDictionaryWriter) Message.WriteBodyContents(XmlDictionaryWriter) Message.WriteBodyContents(XmlDictionaryWriter) Method

定义

使用指定的 XmlDictionaryWriter 序列化正文内容。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)

参数

writer
XmlDictionaryWriter XmlDictionaryWriter XmlDictionaryWriter XmlDictionaryWriter

一个要用于写入正文元素的 XmlDictionaryWriter 对象。An XmlDictionaryWriter object to be used to write the body element.

异常

已复制、读取或写入消息。The message has been copied, read or written.

适用于