MaintenanceTrigger.FreshnessTime Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the interval of a maintenance trigger.
public:
property unsigned int FreshnessTime { unsigned int get(); };
uint32_t FreshnessTime();
public uint FreshnessTime { get; }
var uInt32 = maintenanceTrigger.freshnessTime;
Public ReadOnly Property FreshnessTime As UInteger
Property Value
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.