MessageFault.WriteTo 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 message fault.
Overloads
WriteTo(XmlDictionaryWriter, EnvelopeVersion) |
Writes the message fault that uses the specified XmlDictionaryWriter and SOAP envelope version. |
WriteTo(XmlWriter, EnvelopeVersion) |
Writes the message fault that uses the specified XmlWriter and SOAP envelope version. |
WriteTo(XmlDictionaryWriter, EnvelopeVersion)
- Source:
- MessageFault.cs
- Source:
- MessageFault.cs
- Source:
- MessageFault.cs
Writes the message fault that uses the specified XmlDictionaryWriter and SOAP envelope version.
public:
void WriteTo(System::Xml::XmlDictionaryWriter ^ writer, System::ServiceModel::EnvelopeVersion ^ version);
public void WriteTo (System.Xml.XmlDictionaryWriter writer, System.ServiceModel.EnvelopeVersion version);
member this.WriteTo : System.Xml.XmlDictionaryWriter * System.ServiceModel.EnvelopeVersion -> unit
Public Sub WriteTo (writer As XmlDictionaryWriter, version As EnvelopeVersion)
Parameters
- writer
- XmlDictionaryWriter
The XmlDictionaryWriter used to write the message fault.
- version
- EnvelopeVersion
The version of the SOAP envelope to write.
Applies to
WriteTo(XmlWriter, EnvelopeVersion)
- Source:
- MessageFault.cs
- Source:
- MessageFault.cs
- Source:
- MessageFault.cs
Writes the message fault that uses the specified XmlWriter and SOAP envelope version.
public:
void WriteTo(System::Xml::XmlWriter ^ writer, System::ServiceModel::EnvelopeVersion ^ version);
public void WriteTo (System.Xml.XmlWriter writer, System.ServiceModel.EnvelopeVersion version);
member this.WriteTo : System.Xml.XmlWriter * System.ServiceModel.EnvelopeVersion -> unit
Public Sub WriteTo (writer As XmlWriter, version As EnvelopeVersion)
Parameters
- version
- EnvelopeVersion
The version of the SOAP envelope to write.
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Kommer snart: Under hela 2024 kommer vi att fasa ut GitHub-problem som feedbackmekanism för innehåll och ersätta det med ett nytt feedbacksystem. Mer information finns i:Skicka och visa feedback för