DownloadOperation.RangesDownloaded Evento

Definizione

Fornisce l'accesso allo stato di avanzamento incrementale del download.

// Register
event_token RangesDownloaded(TypedEventHandler<DownloadOperation, BackgroundTransferRangesDownloadedEventArgs const&> const& handler) const;

// Revoke with event_token
void RangesDownloaded(event_token const* cookie) const;

// Revoke with event_revoker
DownloadOperation::RangesDownloaded_revoker RangesDownloaded(auto_revoke_t, TypedEventHandler<DownloadOperation, BackgroundTransferRangesDownloadedEventArgs const&> const& handler) const;
public event TypedEventHandler<DownloadOperation,BackgroundTransferRangesDownloadedEventArgs> RangesDownloaded;
function onRangesDownloaded(eventArgs) { /* Your code */ }
downloadOperation.addEventListener("rangesdownloaded", onRangesDownloaded);
downloadOperation.removeEventListener("rangesdownloaded", onRangesDownloaded);
- or -
downloadOperation.onrangesdownloaded = onRangesDownloaded;
Public Custom Event RangesDownloaded As TypedEventHandler(Of DownloadOperation, BackgroundTransferRangesDownloadedEventArgs) 

Tipo evento

Requisiti Windows

Famiglia di dispositivi
Windows 10 Fall Creators Update (è stato introdotto in 10.0.16299.0)
API contract
Windows.Foundation.UniversalApiContract (è stato introdotto in v5.0)

Commenti

Famiglia di dispositivi Universale; SDK versione 10.0.16299.0 (Windows 10, versione 1709)
Contratto API Windows.Foundation.UniversalApiContract (introdotto v5)
Capabilities internetClientServer, privateNetworkClientServer, internetClient}

Si applica a

Vedi anche