इसके माध्यम से साझा किया गया


AppInstallerInfo.HoursBetweenUpdateChecks Property

Definition

Gets an integer value specifying the frequency with which the the deployment service will check for an update to the App Installer file.

public:
 property unsigned int HoursBetweenUpdateChecks { unsigned int get(); };
uint32_t HoursBetweenUpdateChecks();
public uint HoursBetweenUpdateChecks { get; }
var uInt32 = appInstallerInfo.hoursBetweenUpdateChecks;
Public ReadOnly Property HoursBetweenUpdateChecks As UInteger

Property Value

UInt32

unsigned int

uint32_t

The number of hours between checks for updates.

Windows requirements

Device family
Windows 11 (introduced in 10.0.22000.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v14.0)

Remarks

When HoursBetweenUpdateChecks is set to 0, the deployment service will check for updates every time the application is launched. For other values, the deployment service will check for updates when the application is launched only if it hasn't previously checked within the last number of hours specified by HoursBetweenUpdateChecks. For example, if HoursBetweenUpdateChecks is set to 12, the deployments service will check for updates when the application is launched only if it hasn't already checked for updates in the previous 12 hours.

The allowed range for this property is 0 to 255. The default value is 24.

This property is equivalent to the HoursBetweenUpdateChecks attribute of the OnLaunch element of the App Installer file schema.

Applies to