LiveConnectClient.GetCurrentBackgroundDownloadsAsync method

Gets a list of the current pending downloads.

Syntax

public static System.Threading.Tasks.Task<IEnumerable<LiveDownloadOperation>> GetCurrentBackgroundDownloadsAsync()
Public Shared Function GetCurrentBackgroundDownloadsAsync() As System.Threading.Tasks.Task<IEnumerable<LiveDownloadOperation>>

Parameters

This method has no parameters.

Return value

Type: System.Threading.Tasks.Task<IEnumerable<LiveDownloadOperation>>

A list of LiveDownloadOperation objects.

Remarks

Your app may be terminated when the background uploads or background downloads are still running. If that happens, use the GetCurrentBackgroundUploadsAsync or GetCurrentBackgroundDownloadsAsync methods to:

  • Retrieve background upload or download operations, and attach to them in order to let the operations finish and receive corresponding events.
  • Clean up pending downloads and uploads to free resources.

Requirements

Minimum supported client

Windows 8.1

Minimum supported server

None supported

Minimum supported phone

Windows Phone 8.1

Namespace

Microsoft.Live

Assembly

Microsoft.Live.dll

See also

LiveConnectClient