MessageHeader.WriteHeader 方法

定义

使用 XML 编写器序列化标头。

重载

WriteHeader(XmlDictionaryWriter, MessageVersion)

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

WriteHeader(XmlWriter, MessageVersion)

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

WriteHeader(XmlDictionaryWriter, MessageVersion)

Source:
MessageHeader.cs

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

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

参数

writer
XmlDictionaryWriter

一个 XmlDictionaryWriter,用于序列化标头。

messageVersion
MessageVersion

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

适用于

WriteHeader(XmlWriter, MessageVersion)

Source:
MessageHeader.cs

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

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

参数

writer
XmlWriter

一个 XmlWriter,用于序列化标头。

messageVersion
MessageVersion

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

适用于