IBackgroundTaskRegistration2.Trigger Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.