MessageFault.WriteTo Method (XmlWriter, EnvelopeVersion)

 

Writes the message fault that uses the specified XmlWriter and SOAP envelope version.

Namespace:   System.ServiceModel.Channels
Assembly:  System.ServiceModel (in System.ServiceModel.dll)

public void WriteTo(
	XmlWriter writer,
	EnvelopeVersion version
)

Parameters

writer
Type: System.Xml.XmlWriter

The XmlWriter used to write the message fault.

version
Type: System.ServiceModel.EnvelopeVersion

The version of the SOAP envelope to write.

.NET Framework
Available since 3.0
Return to top
Show: