Delen via


PackageUpdatingEventArgs Class

Definition

Provides information about the package that is being updated.

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

Windows requirements

Device family
Windows 10 Anniversary Edition (introduced in 10.0.14393.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v3.0)

Remarks

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

Properties

ActivityId

Gets the id for the update operation.

ErrorCode

Gets the result of the package uninstall operation.

IsComplete

Indicates whether the app package is done updating.

Progress

Gets an approximation of the package's update progress.

SourcePackage

Gets the package that is being updated.

TargetPackage

Gets the updated package.

Applies to

See also