共用方式為


MessageHeader.WriteHeaderContents(XmlDictionaryWriter, MessageVersion) 方法

定義

使用指定的 XML 寫入器序列化標頭內容。

public:
 void WriteHeaderContents(System::Xml::XmlDictionaryWriter ^ writer, System::ServiceModel::Channels::MessageVersion ^ messageVersion);
public void WriteHeaderContents (System.Xml.XmlDictionaryWriter writer, System.ServiceModel.Channels.MessageVersion messageVersion);
member this.WriteHeaderContents : System.Xml.XmlDictionaryWriter * System.ServiceModel.Channels.MessageVersion -> unit
Public Sub WriteHeaderContents (writer As XmlDictionaryWriter, messageVersion As MessageVersion)

參數

writer
XmlDictionaryWriter

用於序列化標頭內容的 XmlWriter

messageVersion
MessageVersion

物件包含與訊息及其交換相關聯之 SOAP 版本的相關資訊。

適用於