共用方式為


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 事件

適用於

另請參閱