SharedPackageContainerManager Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
- 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. |