Message.OnWriteBodyContents(XmlDictionaryWriter) Message.OnWriteBodyContents(XmlDictionaryWriter) Message.OnWriteBodyContents(XmlDictionaryWriter) Message.OnWriteBodyContents(XmlDictionaryWriter) Method

定义

将消息正文写入 XML 文件时调用。Called when the message body is written to an XML file.

protected:
 abstract void OnWriteBodyContents(System::Xml::XmlDictionaryWriter ^ writer);
protected abstract void OnWriteBodyContents (System.Xml.XmlDictionaryWriter writer);
abstract member OnWriteBodyContents : System.Xml.XmlDictionaryWriter -> unit
Protected MustOverride Sub OnWriteBodyContents (writer As XmlDictionaryWriter)

参数

writer
XmlDictionaryWriter XmlDictionaryWriter XmlDictionaryWriter XmlDictionaryWriter

用于将此消息正文写入 XML 文件的 XmlDictionaryWriterA XmlDictionaryWriter that is used to write this message body to an XML file.

适用于