IBackgroundActivatedEventArgs Interface

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 interface class IBackgroundActivatedEventArgs
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 196608)]
/// [Windows.Foundation.Metadata.Guid(2870263520, 59232, 17422, 169, 28, 68, 121, 109, 227, 169, 45)]
struct IBackgroundActivatedEventArgs
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 196608)]
[Windows.Foundation.Metadata.Guid(2870263520, 59232, 17422, 169, 28, 68, 121, 109, 227, 169, 45)]
public interface IBackgroundActivatedEventArgs
Public Interface IBackgroundActivatedEventArgs
Derived
Attributes

Windows requirements

Device family
Windows 10 Anniversary Edition (introduced in 10.0.14393.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v3.0)

Properties

TaskInstance

Get the data that was available to the IBackgroundTask.Run method that resulted in your app being activated.

Applies to