SharedPackageContainerManager.DeleteContainer Method

Definition

Deletes the specified package container.

C#
public DeleteSharedPackageContainerResult DeleteContainer(string id, DeleteSharedPackageContainerOptions options);

Parameters

id
String

The ID of the package to delete.

options
DeleteSharedPackageContainerOptions

A DeleteSharedPackageContainerOptions object specifying options for the delete operation.

Returns

A DeleteSharedPackageContainerResult object providing status information about the delete operation.

Remarks

Deletion destroys the container and all of its data in the current manager scope. For a user-scoped manager, it only removes for the current user. For a machine-scoped manager, it deprovisions the container so future users won’t acquire it.

Applies to

Product Versions
WinRT Build 22000, Build 22621, Build 26100