IBackgroundTaskRegistration2 IBackgroundTaskRegistration2 IBackgroundTaskRegistration2 IBackgroundTaskRegistration2 Interface

Definition

Provides access to a registered background task. Inherits from the IBackgroundTaskRegistration interface and adds the Trigger property.

public : interface IBackgroundTaskRegistration2public interface IBackgroundTaskRegistration2Public Interface IBackgroundTaskRegistration2// You can use this interface in JavaScript.
Inheritance
IBackgroundTaskRegistration2IBackgroundTaskRegistration2IBackgroundTaskRegistration2IBackgroundTaskRegistration2
Attributes
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

Inherited Members

Inherited events

Inherited properties

Inherited methods

Properties

Trigger Trigger Trigger Trigger

Gets the trigger associated with the background task.

public : IBackgroundTrigger Trigger { get; }public IBackgroundTrigger Trigger { get; }Public ReadOnly Property Trigger As IBackgroundTrigger// You can use this property in JavaScript.
Value
IBackgroundTrigger IBackgroundTrigger IBackgroundTrigger IBackgroundTrigger

The trigger associated with the background task.

Remarks

For all unsupported trigger types, this property returns null.

See Also