共用方式為


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

已關閉訊息。

已複製、讀取或寫入訊息。

適用於