DownloadOperation.CostPolicy Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets and sets the cost policy for the download.
public:
property BackgroundTransferCostPolicy CostPolicy { BackgroundTransferCostPolicy get(); void set(BackgroundTransferCostPolicy value); };
BackgroundTransferCostPolicy CostPolicy();
void CostPolicy(BackgroundTransferCostPolicy value);
public BackgroundTransferCostPolicy CostPolicy { get; set; }
var backgroundTransferCostPolicy = downloadOperation.costPolicy;
downloadOperation.costPolicy = backgroundTransferCostPolicy;
Public Property CostPolicy As BackgroundTransferCostPolicy
Property Value
Specifies whether the transfer can happen over costed networks.