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.
Implements
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for