DownloadOperation.Priority 属性

定义

获取或设置在 BackgroundTransferGroup 中时此下载操作的传输优先级。 可能的值由 BackgroundTransferPriority 定义。

public:
 property BackgroundTransferPriority Priority { BackgroundTransferPriority get(); void set(BackgroundTransferPriority value); };
BackgroundTransferPriority Priority();

void Priority(BackgroundTransferPriority value);
public BackgroundTransferPriority Priority { get; set; }
var backgroundTransferPriority = downloadOperation.priority;
downloadOperation.priority = backgroundTransferPriority;
Public Property Priority As BackgroundTransferPriority

属性值

操作优先级。

实现

适用于

另请参阅