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 版本(与消息及其交换关联)相关的信息的对象。

适用于