Windows Dev Center

BackgroundTransferStatus enumeration

Defines transfer operation status values.

Syntax


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

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 (Windows 10 device family)

Device family

Universal

API contract

Windows.Foundation.UniversalApiContract, introduced version 1.0

Namespace

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

Metadata

Windows.Foundation.UniversalApiContract.winmd

Requirements (Windows 8.x and Windows Phone 8.x)

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

Attributes

[Version(0x06020000)]

 

 

Show:
© 2015 Microsoft