IXFeed::AsyncDownload Method

Download content for the feed asynchronously.

Syntax

HRESULT AsyncDownload(VOID);

Return Value

Returns S_OK if successful, or an error value otherwise.

Remarks

The asynchronous download executes on a separate thread within the current process. If the script or application that hosts the Windows RSS Platform terminates before the download is complete, the download is halted. To avoid exiting too early, wait until the IXFeedEvents::FeedDownloadCompleted or IXFeedFolderEvents::FeedDownloadCompleted event is fired.

See Also

IXFeed::CancelAsyncDownload