BackgroundTransferCostPolicy BackgroundTransferCostPolicy BackgroundTransferCostPolicy BackgroundTransferCostPolicy Enum

Definition

Defines values used to specify whether transfers can occur on metered networks.

public : enum class BackgroundTransferCostPolicy
public enum BackgroundTransferCostPolicy
Public Enum BackgroundTransferCostPolicy
var value = Windows.Networking.BackgroundTransfer.BackgroundTransferCostPolicy.always;
Attributes
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

Fields

Always Always Always Always

Always download regardless of network cost. (e.g. even while a user is roaming)

Note

This behavior is based only on network cost policy, and doesn't affect other app scenarios, like system suspension.

Default Default Default Default

Allow transfers on metered networks.

UnrestrictedOnly UnrestrictedOnly UnrestrictedOnly UnrestrictedOnly

Do not allow transfers on metered networks.