BackgroundActivatedEventArgs 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 : IBackgroundActivatedEventArgs
struct winrt::Windows::UI::WebUI::BackgroundActivatedEventArgs : IBackgroundActivatedEventArgs
public sealed class BackgroundActivatedEventArgs : IBackgroundActivatedEventArgs
Public NotInheritable Class BackgroundActivatedEventArgs Implements IBackgroundActivatedEventArgs
// This class does not provide a public constructor.
Attributes

Windows 10 requirements

Device family
Windows 10, version 1809 (introduced v10.0.17763.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v7)

Remarks

The system passes this object to your background activated event handler.

Properties

TaskInstance TaskInstance TaskInstance TaskInstance TaskInstance

Gets the background task that activated the app.