共用方式為


CustomSystemEventTrigger(String, CustomSystemEventTriggerRecurrence) 建構函式

定義

使用指定的識別碼和週期,建立 CustomSystemEventTrigger的實例。

public:
 CustomSystemEventTrigger(Platform::String ^ triggerId, CustomSystemEventTriggerRecurrence recurrence);
 CustomSystemEventTrigger(winrt::hstring const& triggerId, CustomSystemEventTriggerRecurrence const& recurrence);
public CustomSystemEventTrigger(string triggerId, CustomSystemEventTriggerRecurrence recurrence);
function CustomSystemEventTrigger(triggerId, recurrence)
Public Sub New (triggerId As String, recurrence As CustomSystemEventTriggerRecurrence)

參數

triggerId
String

Platform::String

winrt::hstring

所建立 CustomSystemEventTrigger 的識別碼。

recurrence
CustomSystemEventTriggerRecurrence

當觸發程式可能啟用時。

適用於