Dela via


AutoUpdateSettingsOptions.UpdateBlocksActivation Property

Definition

Gets or sets a boolean value specifying whether the deployment service will stop the user from launching the application until a pending update has been applied.

public:
 property bool UpdateBlocksActivation { bool get(); void set(bool value); };
bool UpdateBlocksActivation();

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

Property Value

Boolean

bool

True if app activation is blocked by updates; otherwise, false.

Remarks

When this property is true, on app launch the user is shown a dialog that will allow them to update or close the app. When this property is false, the user is shown a dialog that will allow them to update or launch the app. If the user launches the app, the update will be applied silently at an opportune time.

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

Applies to