CustomSystemEventTriggerRecurrence 枚举

定义

指定何时可以激活 CustomSystemEventTrigger

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
继承
CustomSystemEventTriggerRecurrence
属性

Windows 要求

设备系列
Windows 10, version 1803 (在 10.0.17134.0 中引入)
API contract
Windows.Foundation.UniversalApiContract (在 v6.0 中引入)

字段

Always 1

始终可以激活触发器。

Once 0

每个会话只能激活触发器一次。

适用于