PackageUninstallingEventArgs
PackageUninstallingEventArgs
PackageUninstallingEventArgs
PackageUninstallingEventArgs
Class
Definition
Provides information about the optional package that is being uninstalled.
public : sealed class PackageUninstallingEventArgs : IPackageUninstallingEventArgspublic sealed class PackageUninstallingEventArgs : IPackageUninstallingEventArgsPublic NotInheritable Class PackageUninstallingEventArgs Implements IPackageUninstallingEventArgs// You can use this class in JavaScript.
- Attributes
| 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 uninstalling event handler.
Properties
ActivityId ActivityId ActivityId ActivityId
Gets the id for the uninstall 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 uninstalling.
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 uninstalling; false, otherwise.
Package Package Package Package
Gets the package that is uninstalling.
public : Package Package { get; }public Package Package { get; }Public ReadOnly Property Package As Package// You can use this property in JavaScript.
Remarks
Certain members of this package object may not be available (such as Package.InstalledLocation ) while the package is being uninstalled.
Progress Progress Progress Progress
Gets an approximation of the package's uninstall 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 uninstall process.