Skip to main content
BackgroundDownloader.GetCurrentDownloadsAsync | getCurrentDownloadsAsync methods

Applies to Windows and Windows Phone

Returns a collection of pending downloads for the current app instance.

Overload list

MethodDescription
GetCurrentDownloadsAsync() Returns a collection of pending downloads that are not associated with a group.
GetCurrentDownloadsAsync(String) Returns a collection of pending downloads for a specific Group.

Remarks

On Windows Phone, this method will return the error code HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG) if the Internet capability is not declared in your app manifest. On Windows, this method will return the error code HRESULT: 0x80070005 (E_ACCESSDENIED) if the Internet capability is not declared in your app manifest. This capability is enabled by default in all Store app project templates.

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Minimum supported phone

Windows Phone 8.1 [Windows Phone Silverlight 8.1 and Windows Runtime apps]

Namespace

Windows.Networking.BackgroundTransfer
Windows::Networking::BackgroundTransfer [C++]

Metadata

Windows.winmd

See also

BackgroundDownloader