-api-id | -api-type |
---|---|
M:Windows.ApplicationModel.Background.TimeTrigger.#ctor(System.UInt32,System.Boolean) |
winrt method |
Initializes a new instance of a time event trigger.
Specifies the number of minutes to wait before scheduling the background task. The system schedules the task within 15 minutes after freshnessTime elapses. If the OneShot property is false, freshnessTime specifies the interval between recurring tasks.
Note
If FreshnessTime is set to less than 15 minutes, an exception is thrown when attempting to register the background task.
True if the time event trigger will be used once; false if it will be used each time freshnessTime elapses.