PackageManager.RemovePackageAsync | removePackageAsync Methods

删除当前用户的包。

重载列表

方法说明
RemovePackageAsync(String) Removes a package for the current user asynchronously and receives progress and status messages on the removal operation.
RemovePackageAsync(String, RemovalOptions) Removes a package for the current user asynchronously and receives progress and status messages on the removal operation.

要求

最低支持客户端

Windows 8

最低支持服务器

Windows Server 2012

命名空间

Windows.Management.Deployment
Windows::Management::Deployment [C++]

元数据

Windows.winmd

另请参见

示例
删除应用程序包示例
引用
PackageManager

 

 

显示:
© 2015 Microsoft