TimeTrigger.FreshnessTime TimeTrigger.FreshnessTime TimeTrigger.FreshnessTime TimeTrigger.FreshnessTime TimeTrigger.FreshnessTime Property

Definition

Gets the interval of a time event trigger.

public : unsigned int FreshnessTime { get; }
uint32_t FreshnessTime();
public uint FreshnessTime { get; }
Public ReadOnly Property FreshnessTime As uint
var uint = timeTrigger.freshnessTime;

Property Value

uint uint uint

Specifies the number of minutes to wait before scheduling the background task. The minimum value for FreshnessTime is 15 minutes. The system schedules the task within 15 minutes after FreshnessTime elapses.

Remarks

The system uses a 15-minute tick frequency for timer requests. A time-triggered background task is scheduled on the next tick after FreshnessTime elapses. If the OneShot property is false, FreshnessTime specifies the interval for a recurring task.

Note

To understand the timeframe within which the time trigger may fire, consider a FreshnessTime set to 15 minutes. Because the system schedules the task within 15 minutes after FreshnessTime elapses, it may be up to 30 minutes before the time trigger fires.