Microsoft.Phone.BackgroundTransfer Namespace

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

This namespace provides access to the APIs that enable background file transfers on Windows Phone.

Capabilities

If you use this API in your app, you must specify the following capabilities in the app manifest. Otherwise, your app might not work correctly or it might exit unexpectedly.

ID_CAP_NETWORKING

Windows Phone 8, Windows Phone OS 7.1

For more info, see App capabilities and hardware requirements for Windows Phone 8.

Classes

  Class Description
BackgroundTransferEventArgs Provides data for TransferStatusChanged and TransferProgressChanged events.
BackgroundTransferInternalException Represents an exception thrown when the Background Transfer Service encounters an internal error.
BackgroundTransferRequest Represents a background file transfer request.
BackgroundTransferService Enables the management of background transfer requests.

Enumerations

  Enumeration Description
TransferPreferences Defines the list of preferences for background transfer requests.
TransferStatus Defines the list of states that a background transfer request can be.