Muokkaa

Jaa


MessageHeader.WriteHeader Method

Definition

Serializes the header using an XML writer.

Overloads

WriteHeader(XmlDictionaryWriter, MessageVersion)

Serializes the header using the specified XML writer.

WriteHeader(XmlWriter, MessageVersion)

Serializes the header using the specified XML writer.

WriteHeader(XmlDictionaryWriter, MessageVersion)

Source:
MessageHeader.cs
Source:
MessageHeader.cs

Serializes the header using the specified XML writer.

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)

Parameters

writer
XmlDictionaryWriter

An XmlDictionaryWriter that is used to serialize the header.

messageVersion
MessageVersion

The object that contains information related to the version of SOAP associated with a message and its exchange.

Applies to

WriteHeader(XmlWriter, MessageVersion)

Source:
MessageHeader.cs
Source:
MessageHeader.cs

Serializes the header using the specified XML writer.

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)

Parameters

writer
XmlWriter

An XmlWriter that is used to serialize the header.

messageVersion
MessageVersion

The object that contains information related to the version of SOAP associated with a message and its exchange.

Applies to