Message.WriteBodyContents(XmlDictionaryWriter) 方法

定义

使用指定的 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 对象。

例外

writernull

消息已关闭。

已复制、读取或写入消息。

适用于