共用方式為


MessageHeader.WriteHeaderAttributes 方法

定義

使用指定的 XML 寫入器序列化標頭屬性。

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

參數

writer
XmlDictionaryWriter

用於序列化標頭屬性的 XmlDictionaryWriter

messageVersion
MessageVersion

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

適用於