PackageInstallingEventArgs 类

定义

提供有关正在安装的应用包的信息。

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
继承
Object Platform::Object IInspectable PackageInstallingEventArgs
属性

Windows 要求

设备系列
Windows 10 Anniversary Edition (在 10.0.14393.0 中引入)
API contract
Windows.Foundation.UniversalApiContract (在 v3.0 中引入)

注解

此对象传递给 PackageCatalog.PackageInstalling 事件

属性

ActivityId

获取安装操作的 ID。

ErrorCode

获取包安装操作的结果。

IsComplete

指示应用包是否已完成安装。

Package

获取正在安装的包。

Progress

获取包的安装进度的近似值。

适用于

另请参阅