[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Gets or sets the preferred conditions under which transfers are enabled.
Assembly: Microsoft.Phone (in Microsoft.Phone.dll)
Property ValueType: Microsoft.Phone.BackgroundTransfer.TransferPreferences
The preferred conditions under which transfers are enabled.
This property allows applications to request that background transfers proceed when only a cellular connection is available and when the device is on battery power. This is only a preference setting. It does not guarantee that transfers will take place under these conditions. The default value is None, which indicates that transfers should occur only when a Wi-Fi connection is available and when the device is connected to external power.
This method may throw one of the following exceptions.
A transfer request’s properties cannot be modified after it has been submitted or disposed.