BackgroundTaskRegistration.Progress | progress event

Applies to Windows and Windows Phone

Attaches a progress event handler to the registered background task.

Syntax


function onProgress(eventArgs) { /* Your code */ }
 
// addEventListener syntax
backgroundTaskRegistration.addEventListener("progress", onProgress);
backgroundTaskRegistration.removeEventListener("progress", onProgress);
 
- or -

backgroundTaskRegistration.onprogress = onProgress;


Event information

Delegate BackgroundTaskProgressEventHandler

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Minimum supported phone

Windows Phone 8.1 [Windows Phone Silverlight 8.1 and Windows Runtime apps]

Namespace

Windows.ApplicationModel.Background
Windows::ApplicationModel::Background [C++]

Metadata

Windows.winmd

See also

BackgroundTaskRegistration

 

 

Show:
© 2014 Microsoft