共用方式為


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

每個會話只能啟動觸發程式一次。

適用於