Share via


SharedPackageContainerManager Class

Definition

Provides methods for creating, deleting, and retrieving SharedPackageContainer objects.

public ref class SharedPackageContainerManager sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Management.Deployment.SharedPackageContainerContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class SharedPackageContainerManager final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Management.Deployment.SharedPackageContainerContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class SharedPackageContainerManager
Public NotInheritable Class SharedPackageContainerManager
Inheritance
Object Platform::Object IInspectable SharedPackageContainerManager
Attributes

Windows requirements

Device family
Windows Desktop Extension SDK (introduced in 10.0.22000.0)
API contract
Windows.Management.Deployment.SharedPackageContainerContract (introduced in v1.0)

Methods

CreateContainer(String, CreateSharedPackageContainerOptions)
DeleteContainer(String, DeleteSharedPackageContainerOptions)

Deletes the specified package container.

FindContainers()

Retrieves a list of all SharedPackageContainer objects within the scope of the current manager.

FindContainers(FindSharedPackageContainerOptions)

Retrieves a list of SharedPackageContainer objects within the scope of the current manager, using the criteria specified by the provided FindSharedPackageContainerOptions.

GetContainer(String)
GetDefault()

Gets an instance of the SharedPackageContainerManager class for the current user.

GetForProvisioning()

Gets an instance of the SharedPackageContainerManager class that facilitates provisioning containers that will apply to all users.

GetForUser(String)

Gets an instance of the SharedPackageContainerManager class for the specified user.

Applies to