BackgroundTransferRangesDownloadedEventArgs 类

定义

提供对增量下载进度事件相关信息的访问。

public ref class BackgroundTransferRangesDownloadedEventArgs sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 327680)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class BackgroundTransferRangesDownloadedEventArgs final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 327680)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class BackgroundTransferRangesDownloadedEventArgs
Public NotInheritable Class BackgroundTransferRangesDownloadedEventArgs
继承
Object Platform::Object IInspectable BackgroundTransferRangesDownloadedEventArgs
属性

Windows 要求

设备系列
Windows 10 Fall Creators Update (在 10.0.16299.0 中引入)
API contract
Windows.Foundation.UniversalApiContract (在 v5.0 中引入)

属性

AddedRanges

自上一个 RangesDownloaded 事件以来下载的范围列表。

WasDownloadRestarted

如果自上一个 RangesDownloaded 事件以来从头开始重启下载,则为 TRUE。

方法

GetDeferral()

延迟允许应用在其 RangesDownloaded 处理程序中执行异步工作,同时不会收到新的 RangesDownloaded 事件

适用于

另请参阅