Bewerken

Delen via


MessageHeader.OnWriteStartHeader(XmlDictionaryWriter, MessageVersion) Method

Definition

Called when the start header is serialized using the specified XML writer.

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

Parameters

writer
XmlDictionaryWriter

An XmlDictionaryWriter that is used to serialize the start header.

messageVersion
MessageVersion

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

Applies to