IBackgroundTaskRegistration2.Trigger Property

Definition

Gets the trigger associated with the background task.

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

Property Value

The trigger associated with the background task.

Remarks

For all unsupported trigger types, this property returns null.

Applies to