Share via


AppInstallOptions.AllowForcedAppRestart Property

Definition

Gets or sets a value that indicates whether to allow a forced restart of the app that is being installed.

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

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

Property Value

Boolean

bool

True to allow a forced restart of the app that is being installed; otherwise, false.

Windows requirements

App capabilities
runFullTrust

Applies to