Message.OnBodyToString(XmlDictionaryWriter) Message.OnBodyToString(XmlDictionaryWriter) Message.OnBodyToString(XmlDictionaryWriter) Message.OnBodyToString(XmlDictionaryWriter) Method

定义

消息正文转换成字符串时调用。Called when the message body is converted to a string.

protected:
 virtual void OnBodyToString(System::Xml::XmlDictionaryWriter ^ writer);
protected virtual void OnBodyToString (System.Xml.XmlDictionaryWriter writer);
abstract member OnBodyToString : System.Xml.XmlDictionaryWriter -> unit
override this.OnBodyToString : System.Xml.XmlDictionaryWriter -> unit
Protected Overridable Sub OnBodyToString (writer As XmlDictionaryWriter)

参数

writer
XmlDictionaryWriter XmlDictionaryWriter XmlDictionaryWriter XmlDictionaryWriter

一个用于将消息正文转换成字符串的 XmlDictionaryWriterA XmlDictionaryWriter that is used to convert the message body to a string.

适用于