BackgroundActivatedEventArgs
BackgroundActivatedEventArgs
BackgroundActivatedEventArgs
BackgroundActivatedEventArgs
Class
Definition
Makes all data available from the IBackgroundTask.Run method available to your event handler when your app is activated by a background trigger.
public : sealed class BackgroundActivatedEventArgs : IBackgroundActivatedEventArgspublic sealed class BackgroundActivatedEventArgs : IBackgroundActivatedEventArgsPublic NotInheritable Class BackgroundActivatedEventArgs Implements IBackgroundActivatedEventArgs// You can use this class in JavaScript.
- Attributes
Windows 10 requirements
| Device family |
Windows 10 Anniversary Edition (introduced v10.0.14393.0)
|
| API contract |
Windows.Foundation.UniversalApiContract (introduced v3)
|
Remarks
This object is passed to your background activated event handler.
Properties
TaskInstance TaskInstance TaskInstance TaskInstance
Get the data that was available to the IBackgroundTask.Run method that resulted in your app being activated.
public : IBackgroundTaskInstance TaskInstance { get; }public IBackgroundTaskInstance TaskInstance { get; }Public ReadOnly Property TaskInstance As IBackgroundTaskInstance// You can use this property in JavaScript.
- Value
- IBackgroundTaskInstance IBackgroundTaskInstance IBackgroundTaskInstance IBackgroundTaskInstance
The IBackgroundTaskInstance that activated your app.