UploadOperation.CostPolicy 属性

定义

获取并设置上传的成本策略。

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

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

属性值

指定传输是否可以通过成本网络进行。

实现

适用于