DownloadOperation.RangesDownloaded Evento
Definizione
Importante
Alcune informazioni sono relative alla release non definitiva del prodotto, che potrebbe subire modifiche significative prima della release definitiva. Microsoft non riconosce alcuna garanzia, espressa o implicita, in merito alle informazioni qui fornite.
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} |