BackgroundTransferStatus enumeration

Applies to Windows and Windows Phone

Defines transfer operation status values.

Syntax


var value = Windows.Networking.BackgroundTransfer.BackgroundTransferStatus.idle;

Attributes

[Version(0x06020000)]

Members

The BackgroundTransferStatus enumeration has these members.

MemberValueDescription
Idle | idle0

The application is idle.

Running | running1

The transfer is currently in progress.

PausedByApplication | pausedByApplication2

The application has paused the transfer operation.

PausedCostedNetwork | pausedCostedNetwork3

The transfer operation is paused due to cost policy (e.g. transitioned to a costed network).

PausedNoNetwork | pausedNoNetwork4

The transfer operation is paused due to a lack of network connectivity.

Completed | completed5

The transfer operation has completed.

Canceled | canceled6

The transfer operation has been cancelled.

Error | error7

An error was encountered during the transfer operation.

PausedSystemPolicy | pausedSystemPolicy32

Windows Phone only. The transfer is paused by the system due to resource constraints. Transfers will have this status if Battery Saver is activated, if the background task can't get enough memory, CPU, power resources to run, or if the network condition is 2G and the app is not in the foreground

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

 

 

Show:
© 2014 Microsoft