AtomPub10ServiceDocumentFormatter.IXmlSerializable.WriteXml Method (XmlWriter)

 

Converts the ServiceDocument into its XML representation.

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

void IXmlSerializable.WriteXml(
	XmlWriter writer
)

Parameters

writer
Type: System.Xml.XmlWriter

The XmlWriter stream to which the object is serialized.

Exception Condition
ArgumentNullException

writer is null.

InvalidOperationException

There is no instance of a ServiceDocument associated with the formatter.

Explicitly implements the WriteXml method.

.NET Framework
Available since 3.5
Return to top
Show: