Bewerken

Delen via


MessageHeader.WriteHeaderAttributes Method

Definition

Serializes the header attributes using the specified XML writer.

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

Parameters

writer
XmlDictionaryWriter

An XmlDictionaryWriter that is used to serialize the header attributes.

messageVersion
MessageVersion

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

Applies to