Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Specifies whether the OS should close the app for app updates, or if the update should be deferred until the next time the app is restarted by the user or a system reboot. The OS will still force-close the app for required OS updates and system reboots.
Element hierarchy
<Package>
└─ <Properties>
└─ <uap17:UpdateWhileInUse>
Syntax
<uap17:UpdateWhileInUse>
<!-- TODO: Add value description -->
</uap17:UpdateWhileInUse>
Value
Attributes
None.
Child elements
None.
Parent elements
| Parent element | Description |
|---|---|
| Properties | Defines additional metadata about the package including attributes that describe how the package appears to users. |
Requirements
| Item | Value |
|---|---|
| Namespace | http://schemas.microsoft.com/appx/manifest/uap/windows10/17 |
| Minimum OS Version | Windows 11 version 24H2 (Build 26100) |
Remarks
If the value of this element is set to "defer", then any force update options specified with AddPackageOptions.ForceTargetAppShutdown, RegisterPackageOptions.ForceTargetAppShutdown, or DeploymentOptions.ForceApplicationShutdown will be ignored.