Delen via


CreateSharedPackageContainerOptions Class

Definition

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

public ref class CreateSharedPackageContainerOptions 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 CreateSharedPackageContainerOptions 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 CreateSharedPackageContainerOptions
function CreateSharedPackageContainerOptions()
Public NotInheritable Class CreateSharedPackageContainerOptions
Inheritance
Object Platform::Object IInspectable CreateSharedPackageContainerOptions
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

CreateSharedPackageContainerOptions()

Initializes a new instance of the CreateSharedPackageContainerOptions class.

Properties

CreateCollisionOption

Gets or sets collision options for the shared package container creation operation.

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 creation operation.

Members

Gets a read-only list of SharedPackageContainerMember objects representing the set package families, and any associated tuple-data included in the container.

Applies to