Represents a system event that triggers a background task to run. Score international baja 1000 live feed. Windows.Foundation.UniversalApiContract (introduced v1.0)ExamplesThe following example shows how to create and register a system trigger with the TimeZoneChanged event.
-->Definition
Read Background (part 1) from the story Venom X Spiderman Oneshots by Babyblue00123 (BABYBLUE) with 6,282 reads. Peterparker, venom, spidervenom.
Represents a system event that triggers a background task to run.
Windows 10 requirements
Device family | |
API contract | Windows.Foundation.UniversalApiContract (introduced v1.0) |
Examples
The following example shows how to create and register a system trigger with the TimeZoneChanged event.
Remarks
Note
: This class is not agile, which means that you need to consider its threading model and marshaling behavior. For more info, see Threading and Marshaling (C++/CX) and Using Windows Runtime objects in a multithreaded environment (.NET).
Constructors
SystemTrigger(SystemTriggerType, Boolean)SystemTrigger(SystemTriggerType, Boolean)SystemTrigger(SystemTriggerType, Boolean)SystemTrigger(SystemTriggerType, Boolean)SystemTrigger(SystemTriggerType, Boolean) | Initializes a new instance of a system event trigger. |
Properties
OneShotOneShotOneShotOneShotOneShot | Gets whether a system event trigger will be used only once. |
TriggerTypeTriggerTypeTriggerTypeTriggerTypeTriggerType | Gets the system event type of a system event trigger. |