Export (0) Print
Expand All
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

BackgroundTransferCostPolicy enumeration

Applies to Windows and Windows Phone

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

Syntax


var value = Windows.Networking.BackgroundTransfer.BackgroundTransferCostPolicy.default;

Attributes

[Version(0x06020000)]

Members

The BackgroundTransferCostPolicy enumeration has these members.

MemberValueDescription
Default | default0

Allow transfers on metered networks.

UnrestrictedOnly | unrestrictedOnly1

Do not allow transfers on metered networks.

Always | always2

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.

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