MessageHeader.WriteHeader 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.
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
- 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
- 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
- messageVersion
- MessageVersion
The object that contains information related to the version of SOAP associated with a message and its exchange.
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
În curând: Pe parcursul anului 2024, vom elimina treptat Probleme legate de GitHub ca mecanism de feedback pentru conținut și îl vom înlocui cu un nou sistem de feedback. Pentru mai multe informații, consultați:Trimiteți și vizualizați feedback pentru