Udostępnij za pośrednictwem


CustomSystemEventTriggerRecurrence Enum

Definition

Specifies when a CustomSystemEventTrigger may be activated.

public enum class CustomSystemEventTriggerRecurrence
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 393216)]
enum class CustomSystemEventTriggerRecurrence
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 393216)]
public enum CustomSystemEventTriggerRecurrence
var value = Windows.ApplicationModel.Background.CustomSystemEventTriggerRecurrence.once
Public Enum CustomSystemEventTriggerRecurrence
Inheritance
CustomSystemEventTriggerRecurrence
Attributes

Windows requirements

Device family
Windows 10, version 1803 (introduced in 10.0.17134.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v6.0)

Fields

Name Value Description
Once 0

The trigger can only be activated once per session.

Always 1

The trigger can always be activated.

Applies to