PackageManager.DeprovisionPackageForAllUsersAsync(String) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
public:
virtual IAsyncOperationWithProgress<DeploymentResult ^, DeploymentProgress> ^ DeprovisionPackageForAllUsersAsync(Platform::String ^ packageFamilyName) = DeprovisionPackageForAllUsersAsync;
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperationWithProgress<DeploymentResult, DeploymentProgress> DeprovisionPackageForAllUsersAsync(winrt::hstring const& packageFamilyName);
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperationWithProgress<DeploymentResult,DeploymentProgress> DeprovisionPackageForAllUsersAsync(string packageFamilyName);
function deprovisionPackageForAllUsersAsync(packageFamilyName)
Public Function DeprovisionPackageForAllUsersAsync (packageFamilyName As String) As IAsyncOperationWithProgress(Of DeploymentResult, DeploymentProgress)
参数
- packageFamilyName
-
String
Platform::String
winrt::hstring
要取消预配的包的包系列名称。
返回
具有当前 DeploymentProgress 状态的异步操作。
- 属性
Windows 要求
设备系列 |
Windows 10, version 1809 (在 10.0.17763.0 中引入)
|
API contract |
Windows.Foundation.UniversalApiContract (在 v7.0 中引入)
|