Redigera

Dela via


MessageHeader.WriteHeaderContents(XmlDictionaryWriter, MessageVersion) Method

Definition

Serializes the header contents using the specified XML writer.

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)

Parameters

writer
XmlDictionaryWriter

An XmlWriter that is used to serialize the header contents.

messageVersion
MessageVersion

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

Applies to