Share via


DeleteSharedPackageContainerOptions Class

Definition

Provides options for creating a shared package container with a call to SharedPackageContainerManager.DeleteContainer.

public ref class DeleteSharedPackageContainerOptions sealed
/// [Windows.Foundation.Metadata.Activatable(65536, "Windows.Management.Deployment.SharedPackageContainerContract")]
/// [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 DeleteSharedPackageContainerOptions final
[Windows.Foundation.Metadata.Activatable(65536, "Windows.Management.Deployment.SharedPackageContainerContract")]
[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 DeleteSharedPackageContainerOptions
function DeleteSharedPackageContainerOptions()
Public NotInheritable Class DeleteSharedPackageContainerOptions
Inheritance
Object Platform::Object IInspectable DeleteSharedPackageContainerOptions
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)

Constructors

DeleteSharedPackageContainerOptions()

Initializes a new instance of the DeleteSharedPackageContainerOptions class.

Properties

AllUsers

Gets or sets a value indicating whether the shared package container should be deleted for all users.

ForceAppShutdown

Gets or sets a value specifying whether apps with packages in the created shared container should be shut down as part of the container deletion operation.

Applies to