MessageHeader.WriteStartHeader(XmlDictionaryWriter, MessageVersion) 方法

定义

使用指定的 XML 编写器序列化开始标头。

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

参数

writer
XmlDictionaryWriter

XmlDictionaryWriter 用于序列化开始标头。

messageVersion
MessageVersion

该对象包含与 SOAP 版本相关的信息,该版本与消息及其交换关联。

适用于