Skip to content

Latest commit

 

History

History
38 lines (26 loc) · 1.53 KB

syndicationclient.md

File metadata and controls

38 lines (26 loc) · 1.53 KB
-api-id -api-type
T:Windows.Web.Syndication.SyndicationClient
winrt class

Windows.Web.Syndication.SyndicationClient

-description

Implements the ISyndicationClient interface which retrieves feeds from a URI asynchronously.

-remarks

The following code demonstrates how to retrieve a feed using RetrieveFeedAsync.

using Windows.Foundation;
using Windows.Web.Syndication;

async Task GetFeedAsync(string feedUri)
{
    var uri = new Uri(feedUri);
    var client = new SyndicationClient(){ BypassCacheOnRetrieve = true };
    currentFeed = await client.RetrieveFeedAsync(uri);
}

For additional examples that demonstrate how this class is used to retrieve syndicated content from the web, see Quickstart: Accessing a web feed.

-examples

-see-also

Quickstart: Accessing a web feed, Syndication sample, Syndication sample (Windows 10), RssReader sample