Message.OnWriteMessage(XmlDictionaryWriter) Message.OnWriteMessage(XmlDictionaryWriter) Message.OnWriteMessage(XmlDictionaryWriter) Message.OnWriteMessage(XmlDictionaryWriter) Method

定义

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

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

参数

writer
XmlDictionaryWriter XmlDictionaryWriter XmlDictionaryWriter XmlDictionaryWriter

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

适用于