PackageUpdatingEventArgs PackageUpdatingEventArgs PackageUpdatingEventArgs PackageUpdatingEventArgs Class

Definition

Provides information about the package that is being updated.

public : sealed class PackageUpdatingEventArgs : IPackageUpdatingEventArgspublic sealed class PackageUpdatingEventArgs : IPackageUpdatingEventArgsPublic NotInheritable Class PackageUpdatingEventArgs Implements IPackageUpdatingEventArgs// You can use this class in JavaScript.
Attributes
Windows 10 requirements
Device family
Windows 10 Anniversary Edition (introduced v10.0.14393.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v3)

Remarks

This object is passed to the app's package updating event handler.

Properties

ActivityId ActivityId ActivityId ActivityId

Gets the id for the update operation.

public : PlatForm::Guid ActivityId { get; }public Guid ActivityId { get; }Public ReadOnly Property ActivityId As Guid// You can use this property in JavaScript.
Value
PlatForm::Guid Guid Guid Guid

A unique value that an app can use to correlate events that relate to a single deployment operation.

ErrorCode ErrorCode ErrorCode ErrorCode

Gets the result of the package uninstall operation.

public : HResult ErrorCode { get; }public Exception ErrorCode { get; }Public ReadOnly Property ErrorCode As Exception// You can use this property in JavaScript.
Value
HResult Exception Exception Exception

The result of the package uninstall operation.

IsComplete IsComplete IsComplete IsComplete

Indicates whether the app package is done updating.

public : PlatForm::Boolean IsComplete { get; }public bool IsComplete { get; }Public ReadOnly Property IsComplete As bool// You can use this property in JavaScript.
Value
PlatForm::Boolean bool bool bool

True if the app package is done updating; false otherwise.

Progress Progress Progress Progress

Gets an approximation of the package's update progress.

public : double Progress { get; }public double Progress { get; }Public ReadOnly Property Progress As double// You can use this property in JavaScript.
Value
double double double double

A value in the range of 0 through 1.0 which represents approximately how far along the package is in the update process.

SourcePackage SourcePackage SourcePackage SourcePackage

Gets the package that is being updated.

public : Package SourcePackage { get; }public Package SourcePackage { get; }Public ReadOnly Property SourcePackage As Package// You can use this property in JavaScript.
Value
Package Package Package Package

The package being updated. This is the original package that was on the machine that is now being updated.

TargetPackage TargetPackage TargetPackage TargetPackage

Gets the updated package.

public : Package TargetPackage { get; }public Package TargetPackage { get; }Public ReadOnly Property TargetPackage As Package// You can use this property in JavaScript.
Value
Package Package Package Package

This is the new package that is an update to the old package on the device.