इसके माध्यम से साझा किया गया


PackageUninstallingEventArgs Class

Definition

Provides information about the app package that is being uninstalled.

public ref class PackageUninstallingEventArgs 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 PackageUninstallingEventArgs 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 PackageUninstallingEventArgs
Public NotInheritable Class PackageUninstallingEventArgs
Inheritance
Object Platform::Object IInspectable PackageUninstallingEventArgs
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 uninstalling event handler.

Properties

ActivityId

Gets the id for the uninstall operation.

ErrorCode

Gets the result of the package uninstall operation.

IsComplete

Indicates whether the app package is done uninstalling.

Package

Gets the package that is uninstalling.

Progress

Gets an approximation of the package's uninstall progress.

Applies to

See also