BackgroundDownloader.CostPolicy 属性

定义

获取或设置后台下载操作的成本策略。

public:
 property BackgroundTransferCostPolicy CostPolicy { BackgroundTransferCostPolicy get(); void set(BackgroundTransferCostPolicy value); };
BackgroundTransferCostPolicy CostPolicy();

void CostPolicy(BackgroundTransferCostPolicy value);
public BackgroundTransferCostPolicy CostPolicy { get; set; }
var backgroundTransferCostPolicy = backgroundDownloader.costPolicy;
backgroundDownloader.costPolicy = backgroundTransferCostPolicy;
Public Property CostPolicy As BackgroundTransferCostPolicy

属性值

指示传输是否可以在成本网络上发生。

实现

适用于