Megosztás a következőn keresztül:


PackageInstallingEventArgs Class

Definition

Provides information about the app package that is being installed.

public ref class PackageInstallingEventArgs 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 PackageInstallingEventArgs 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 PackageInstallingEventArgs
Public NotInheritable Class PackageInstallingEventArgs
Inheritance
Object Platform::Object IInspectable PackageInstallingEventArgs
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 PackageCatalog.PackageInstalling event

Properties

ActivityId

Gets the id for the install operation.

ErrorCode

Gets the result of the package installation operation.

IsComplete

Indicates whether the app package is done installing.

Package

Gets the package that is installing.

Progress

Gets an approximation of the package's installation progress.

Applies to

See also