IBackgroundTaskRegistration2.Trigger IBackgroundTaskRegistration2.Trigger IBackgroundTaskRegistration2.Trigger IBackgroundTaskRegistration2.Trigger IBackgroundTaskRegistration2.Trigger Property

Definition

Gets the trigger associated with the background task.

public : IBackgroundTrigger Trigger { get; }
IBackgroundTrigger Trigger();
public IBackgroundTrigger Trigger { get; }
Public ReadOnly Property Trigger As IBackgroundTrigger
var iBackgroundTrigger = iBackgroundTaskRegistration2.trigger;

Property Value

The trigger associated with the background task.

Remarks

For all unsupported trigger types, this property returns null.