WL.getCurrentBackgroundUploads

Gets current pending background upload operations.

Parameters

This function has no parameters.

Return value

Returns a Promise object. This object allows you to handle a succeeded event where you will get a list of current pending upload operations.

Remarks

You can invoke attach() methods on each operation. The attach() method returns a Promise object, that allows you to handle corresponding onSuccess, onFailure, and onProgress event for that operation.

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

  • Retrieve those 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

Windows8.1 [Windows Store apps only]

Minimum supported server

None supported [Windows Store apps only]

Minimum supported phone

Windows Phone 8.1

Header

N/A

Library

Wl.js

DLL

N/A