Share via


AutoUpdateSettingsOptions.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(); void set(bool value); };
bool AutomaticBackgroundTask();

void AutomaticBackgroundTask(bool value);
public bool AutomaticBackgroundTask { get; set; }
var boolean = autoUpdateSettingsOptions.automaticBackgroundTask;
autoUpdateSettingsOptions.automaticBackgroundTask = boolean;
Public Property AutomaticBackgroundTask As Boolean

Property Value

Boolean

bool

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

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