Delen via


UpdateSharedPackageContainerOptions Class

Definition

Provides options for updating a shared package container.

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

UpdateSharedPackageContainerOptions()

Initializes a new instance of the UpdateSharedPackageContainerOptions class.

Properties

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

RequirePackagesPresent

Gets or sets a value that specifies whether the affected packages must be present for the update operation to succeed.

Applies to