BackgroundTransferStatus
BackgroundTransferStatus
BackgroundTransferStatus
BackgroundTransferStatus
Enum
Definition
Some information relates to pre-released product which may be substantially modified before it’s commercially released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Prerelease APIs are identified by a Prerelease label.
[Contains prerelease APIs.]
Defines transfer operation status values.
public : enum class BackgroundTransferStatuspublic enum BackgroundTransferStatusPublic Enum BackgroundTransferStatus// You can use this enum in JavaScript.
- Attributes
| Device family |
Windows 10 (introduced v10.0.10240.0)
|
| API contract |
Windows.Foundation.UniversalApiContract (introduced v1)
|
Fields
| Canceled Canceled Canceled Canceled | The transfer operation has been cancelled. |
| Completed Completed Completed Completed | The transfer operation has completed. |
| Error Error Error Error | An error was encountered during the transfer operation. |
| Idle Idle Idle Idle | The application is idle. |
| PausedByApplication PausedByApplication PausedByApplication PausedByApplication | The application has paused the transfer operation. |
| PausedCostedNetwork PausedCostedNetwork PausedCostedNetwork PausedCostedNetwork | The transfer operation is paused due to cost policy (e.g. transitioned to a costed network). |
| PausedNoNetwork PausedNoNetwork PausedNoNetwork PausedNoNetwork | The transfer operation is paused due to a lack of network connectivity. |
| PausedRecoverableWebErrorStatus PausedRecoverableWebErrorStatus PausedRecoverableWebErrorStatus PausedRecoverableWebErrorStatus | Prerelease. One of the app-configured recoverable web error statuses (RecoverableWebErrorStatuses ). |
| PausedSystemPolicy PausedSystemPolicy PausedSystemPolicy PausedSystemPolicy | 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 |
| Running Running Running Running | The transfer is currently in progress. |