MaintenanceTrigger.FreshnessTime MaintenanceTrigger.FreshnessTime MaintenanceTrigger.FreshnessTime MaintenanceTrigger.FreshnessTime MaintenanceTrigger.FreshnessTime Property

Definition

Gets the interval of a maintenance trigger.

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

Property Value

uint uint uint

The number of minutes to wait before scheduling the background task. The system schedules the task within 15 minutes after FreshnessTime elapses.

Remarks

The provided value acts as a suggested value, because it may change depending on system polices in place. Examples of system policies that could override this value include Battery Saver, Game Mode, or the system detecting that the application is not being used very often. The list of system policies that affect this value can also change from release to release.

Passing in a value greater than 30 days (in minutes) may result in an argument exception.