Dela via


AppInstallerInfo.AutomaticBackgroundTask Property

Definition

Gets a boolean value indicating whether the deployment service checks for app updates in the background.

public:
 property bool AutomaticBackgroundTask { bool get(); };
bool AutomaticBackgroundTask();
public bool AutomaticBackgroundTask { get; }
var boolean = appInstallerInfo.automaticBackgroundTask;
Public ReadOnly Property AutomaticBackgroundTask As Boolean

Property Value

Boolean

bool

True if automatic background check is enabled; otherwise, false.

Windows requirements

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

Remarks

When this value is true, a check for updates is made every 8 hours independently of whether the user launched the app. This type of update cannot show UI.

This property is equivalent to the AutomaticBackgroundTask element of the App Installer file schema.

Applies to