CustomSystemEventTrigger(String, CustomSystemEventTriggerRecurrence) 建構函式
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
使用指定的識別碼和週期,建立 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
當觸發程式可能啟用時。