Edit

Share via


MessageFault.WriteTo Method

Definition

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

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

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

writer
XmlWriter

The XmlWriter used to write the message fault.

version
EnvelopeVersion

The version of the SOAP envelope to write.

Applies to