BackgroundTaskProgressEventHandler
BackgroundTaskProgressEventHandler
BackgroundTaskProgressEventHandler
BackgroundTaskProgressEventHandler
Delegate
Definition
Represents a method that handles progress update events for a background task.
public : delegate void BackgroundTaskProgressEventHandler(BackgroundTaskRegistration sender, BackgroundTaskProgressEventArgs args)public delegate void BackgroundTaskProgressEventHandler(BackgroundTaskRegistration sender, BackgroundTaskProgressEventArgs args)Public Delegate BackgroundTaskProgressEventHandler(sender As BackgroundTaskRegistration, args As BackgroundTaskProgressEventArgs)// You can use this delegate in JavaScript.
Parameters
- sender
- BackgroundTaskRegistration BackgroundTaskRegistration BackgroundTaskRegistration BackgroundTaskRegistration
The background task.
- args
- BackgroundTaskProgressEventArgs BackgroundTaskProgressEventArgs BackgroundTaskProgressEventArgs BackgroundTaskProgressEventArgs
Progress information for the task at the time the notification is sent.
- Attributes
Windows 10 requirements
| Device family |
Windows 10 (introduced v10.0.10240.0)
|
| API contract |
Windows.Foundation.UniversalApiContract (introduced v1)
|
Remarks
Progress update events are delivered only while the application is in the foreground.