BackgroundTransferStatus BackgroundTransferStatus BackgroundTransferStatus BackgroundTransferStatus BackgroundTransferStatus Enum

Definition

Defines transfer operation status values.

public : enum class BackgroundTransferStatus
enum class winrt::Windows::Networking::BackgroundTransfer::BackgroundTransferStatus : int32_t
public enum BackgroundTransferStatus
Public Enum BackgroundTransferStatus
var value = Windows.Networking.BackgroundTransfer.BackgroundTransferStatus.canceled;
Attributes

Windows 10 requirements

Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

Fields

Canceled Canceled Canceled Canceled Canceled 6

The transfer operation has been cancelled.

Completed Completed Completed Completed Completed 5

The transfer operation has completed.

Error Error Error Error Error 7

An error was encountered during the transfer operation.

Idle Idle Idle Idle Idle 0

The application is idle.

PausedByApplication PausedByApplication PausedByApplication PausedByApplication PausedByApplication 2

The application has paused the transfer operation.

PausedCostedNetwork PausedCostedNetwork PausedCostedNetwork PausedCostedNetwork PausedCostedNetwork 3

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

PausedNoNetwork PausedNoNetwork PausedNoNetwork PausedNoNetwork PausedNoNetwork 4

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

PausedRecoverableWebErrorStatus PausedRecoverableWebErrorStatus PausedRecoverableWebErrorStatus PausedRecoverableWebErrorStatus PausedRecoverableWebErrorStatus 8

One of the app-configured recoverable web error statuses (RecoverableWebErrorStatuses ).

PausedSystemPolicy PausedSystemPolicy PausedSystemPolicy PausedSystemPolicy PausedSystemPolicy 32

The transfer is paused by the system due to resource constraints. Examples of constraints include the system being on Battery Saver when the application is not in the foreground. In Windows Phone, 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

Running Running Running Running Running 1

The transfer is currently in progress.

Remarks

Version history

Version SDK version Value added
1709 16299 PausedRecoverableWebErrorStatus

See also