IXFeedEvents::FeedDownloadCompleted Method

Occurs when a feed has finished or failed downloading.

Syntax

HRESULT FeedDownloadCompleted(
    LPCWSTR pszPath,
    FEEDS_DOWNLOAD_ERROR fde
);

Parameters

  • pszPath
    [in] String that specifies the full path to the feed.
  • fde
    [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 IXFeedEvents::FeedDownloadCompleted event is raised when the platform has finished downloading a feed either successfully, or because an error occurred. The fde parameter indicates either success or the type of error. This same value can be retrieved from IXFeed::LastDownloadError.

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

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