IXFeedEnclosure::AsyncDownload Method

Downloads the enclosure asynchronously.

Syntax

HRESULT AsyncDownload(VOID);

Return Value

Returns S_OK if successful, or an error value otherwise.

Remarks

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.

See Also

IXFeed::DownloadEnclosuresAutomatically