Share via


AppInstallStatus Class

Definition

Describes the status of an app that is in the installation queue.

public ref class AppInstallStatus sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class AppInstallStatus final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class AppInstallStatus
Public NotInheritable Class AppInstallStatus
Inheritance
Object Platform::Object IInspectable AppInstallStatus
Attributes

Windows requirements

Device family
Windows 10 (introduced in 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v1.0)
App capabilities
runFullTrust

Remarks

To retrieve an instance of this class, use the GetCurrentStatus method of the AppInstallItem class.

Important

Access to this API is protected by a private capability that is restricted to apps that are developed by Microsoft.

Version history

Windows version SDK version Value added
1607 14393 ReadyForLaunch
1607 14393 User
1803 17134 IsStaged

Properties

BytesDownloaded

Gets the number of bytes that have been downloaded for the current app.

DownloadSizeInBytes

Gets the download size in bytes for the current app.

ErrorCode

Gets the error code for an app that has encountered an installation failure.

InstallState

Gets the installation state of the current app.

IsStaged

Gets a value that indicates whether an app restart is pending.

PercentComplete

Gets the completion percentage for the installation of the current app.

ReadyForLaunch

Gets a value that indicates whether the app can be launched, even if the app has not yet finished installing.

User

Gets an object that identifies the user for which the app is being installed.

Applies to