AppUpdateOptions.AllowForcedAppRestart Property

Definition

Gets or sets a value that specifies whether to allow a forced restart of the app that is being queried for updates.

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

void AllowForcedAppRestart(bool value);
public bool AllowForcedAppRestart { get; set; }
var boolean = appUpdateOptions.allowForcedAppRestart;
appUpdateOptions.allowForcedAppRestart = boolean;
Public Property AllowForcedAppRestart As Boolean

Property Value

Boolean

bool

True to allow a forced restart of the app; otherwise, false.

Windows requirements

App capabilities
runFullTrust

Applies to