Freigeben über


IBackgroundTaskRegistration.Progress Ereignis

Definition

Fügt der registrierten Hintergrundaufgabe einen Statusereignishandler an.

public:
 event BackgroundTaskProgressEventHandler ^ Progress;
// Register
event_token Progress(BackgroundTaskProgressEventHandler const& handler) const;

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

// Revoke with event_revoker
IBackgroundTaskRegistration::Progress_revoker Progress(auto_revoke_t, BackgroundTaskProgressEventHandler const& handler) const;
event BackgroundTaskProgressEventHandler Progress;
function onProgress(eventArgs) { /* Your code */ }
iBackgroundTaskRegistration.addEventListener("progress", onProgress);
iBackgroundTaskRegistration.removeEventListener("progress", onProgress);
- or -
iBackgroundTaskRegistration.onprogress = onProgress;
Event Progress As BackgroundTaskProgressEventHandler 

Ereignistyp

Gilt für: