Share via


PackageStagingEventArgs Class

Definition

Provides information about the app package that is being staged.

public ref class PackageStagingEventArgs 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 PackageStagingEventArgs 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 PackageStagingEventArgs
Public NotInheritable Class PackageStagingEventArgs
Inheritance
Object Platform::Object IInspectable PackageStagingEventArgs
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

An app package is staged when it is added to the device but is not yet registered.

Apps only receive package events for itself or its related packages such as optional packages.

This object is passed to the PackageCatalog.PackageStaging event event handler.

Properties

ActivityId

Gets the id for the staging operation.

ErrorCode

Gets the result of the package staging operation.

IsComplete

Indicates whether the app package is done staging.

Package

Gets the package that is staging.

Progress

Gets an approximation of the package's staging progress.

Applies to

See also