Share via


ISyndicationClient Interface

Definition

Encapsulates the data and methods needed to retrieve feeds from a URI asynchronously. It supports authentication.

public interface class ISyndicationClient
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.Guid(2652416439, 29257, 19269, 178, 41, 125, 248, 149, 165, 161, 245)]
struct ISyndicationClient
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.Guid(2652416439, 29257, 19269, 178, 41, 125, 248, 149, 165, 161, 245)]
public interface ISyndicationClient
Public Interface ISyndicationClient
Derived
Attributes

Windows requirements

Device family
Windows 10 (introduced in 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v1.0)

Properties

BypassCacheOnRetrieve

Gets or sets a Boolean that indicates whether cache will be bypassed when retrieving the feed.

MaxResponseBufferSize

Gets or sets the maximum number of bytes to buffer when receiving a response from a server.

ProxyCredential

Gets or sets the credentials to use when making requests using a proxy.

ServerCredential

Gets or sets the credentials to use when making requests to the server.

Timeout

Gets or sets the maximum amount of time, in milliseconds, to wait for any of the asynchronous operations to complete. If the operation is not complete within this amount of time, it will fail with a status code indicating that it timed out.

Methods

RetrieveFeedAsync(Uri)

Initiates an asynchronous operation to download the syndication feed from the given URI. This method instantiates a SyndicationFeed object from the feed string, which can be in one of the formats specified in SyndicationFormat.

SetRequestHeader(String, String)

Sets an HTTP header for the request. This method can be called multiple times to set multiple headers. When the same header is set multiple times, the values will be concatenated and separated by ",".

Applies to

See also