Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

IFeed::AsyncDownload Method

Starts an asynchronous download.


HRESULT AsyncDownload(VOID);

Return Value

Returns S_OK if successful, or an error value otherwise.


Downloads the feed asynchronously.

Feeds are downloaded 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 IFeedEvents::FeedDownloadCompleted or IFeedFolderEvents::FeedDownloadCompleted event is fired.

The enclosure is passed to Background Intelligent Transfer Service (BITS) for download, which continues to run even if the calling process ends. If the BITS download fails, a separate process is launched to download the enclosure using standard HTTP. There are no enclosure download events.

To cancel an asynchronous download, use IFeed::CancelAsyncDownload.

See Also

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

© 2014 Microsoft. All rights reserved.