IFeedEvents::FeedDownloadCompleted Method

Occurs when a feed has finished downloading or failed.

Syntax

HRESULT FeedDownloadCompleted(
    const BSTR path,
    FEEDS_DOWNLOAD_ERROR error
);

Parameters

  • path
    [in] BSTR that specifies the full path to the feed.
  • error
    [in] Value from the FEEDS_DOWNLOAD_ERROR enumeration that indicates success or failure.

Return Value

Returns S_OK if successful, or E_NOTIMPL.

Remarks

The FeedDownloadCompleted event is raised when the platform has finished downloading a feed successfully, or because an error occurred. The error parameter indicates either success or the type of error. This same value can be retrieved from IFeed::LastDownloadError.

Feed items are processed after the feed has been downloaded successfully.

Enclosures are downloaded separately from feeds and do not raise events.