AtomPub10ServiceDocumentFormatter.ReadFrom Method (XmlReader)

 

Generates a ServiceDocument object from a specified XML reader.

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

public override void ReadFrom(
	XmlReader reader
)

Parameters

reader
Type: System.Xml.XmlReader

The XML reader from which to read the syndication feed.

Exception Condition
XmlException

reader is null.

ArgumentNullException

The XML could not be parsed.

.NET Framework
Available since 3.5
Return to top
Show: