SyndicationFeedFormatter.ReadFrom Method

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Reads in a SyndicationFeed from the specified XmlReader.

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

Syntax

'Declaration
Public MustOverride Sub ReadFrom ( _
    reader As XmlReader _
)
public abstract void ReadFrom(
    XmlReader reader
)

Parameters

Exceptions

Exception Condition
XmlException

Invalid XML encountered during read.

Remarks

Creates a new SyndicationFeed, associates it with the SyndicationFeedFormatter, and reads the feed into the SyndicationFeed instance.

Version Information

Silverlight

Supported in: 5, 4, 3

Platforms

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.