Oneshot Background

Oneshot Background

Oneshot Background 4,7/5 4409 reviews

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.

Inheritance
System.ObjectSystem.ObjectSystem.ObjectSystem.ObjectSystem.Object
SystemTriggerSystemTriggerSystemTriggerSystemTriggerSystemTrigger
Attributes
ActivatableAttributeContractVersionAttributeMarshalingBehaviorAttributeThreadingAttributeActivatableAttribute
Implements
IBackgroundTriggerIBackgroundTriggerIBackgroundTriggerIBackgroundTriggerIBackgroundTrigger

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).

Oneshot Background

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.

Applies to

See also

Oneshot Background
© 2020