PackageInstallingEventArgs
PackageInstallingEventArgs
PackageInstallingEventArgs
PackageInstallingEventArgs
Class
Definition
Provides information about the optional package that is being installed.
public : sealed class PackageInstallingEventArgs : IPackageInstallingEventArgspublic sealed class PackageInstallingEventArgs : IPackageInstallingEventArgsPublic NotInheritable Class PackageInstallingEventArgs Implements IPackageInstallingEventArgs// 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 PackageCatalog.PackageInstalling event
Properties
ActivityId ActivityId ActivityId ActivityId
Gets the id for the install 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 installation 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 code for the error. S_OK if no error.
IsComplete IsComplete IsComplete IsComplete
Indicates whether the app package is done installing.
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 indicates that the app package is done installing; false, otherwise.
Progress Progress Progress Progress
Gets an approximation of the package's installation 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 installation process.