MessageHeader.OnWriteHeaderContents Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Called when the header content is serialized using the specified XML writer.
protected:
abstract void OnWriteHeaderContents(System::Xml::XmlDictionaryWriter ^ writer, System::ServiceModel::Channels::MessageVersion ^ messageVersion);
protected abstract void OnWriteHeaderContents (System.Xml.XmlDictionaryWriter writer, System.ServiceModel.Channels.MessageVersion messageVersion);
abstract member OnWriteHeaderContents : System.Xml.XmlDictionaryWriter * System.ServiceModel.Channels.MessageVersion -> unit
Protected MustOverride Sub OnWriteHeaderContents (writer As XmlDictionaryWriter, messageVersion As MessageVersion)
Parameters
- writer
- XmlDictionaryWriter
An XmlDictionaryWriter 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
Συνεργαστείτε μαζί μας στο GitHub
Μπορείτε να βρείτε την πηγή για αυτό το περιεχόμενο στο GitHub, όπου μπορείτε επίσης να δημιουργήσετε και να εξετάσετε ζητήματα και αιτήματα έλξης. Για περισσότερες πληροφορίες, ανατρέξτε στον οδηγό συνεργατών.