AppInstallOptions.AllowForcedAppRestart Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
|