Delen via


SharedPackageContainerCreationCollisionOptions Enum

Definition

Specifies collision options when creating a shared package container with SharedPackageContainerManager.CreateContainer

public enum class SharedPackageContainerCreationCollisionOptions
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Management.Deployment.SharedPackageContainerContract, 65536)]
enum class SharedPackageContainerCreationCollisionOptions
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Management.Deployment.SharedPackageContainerContract), 65536)]
public enum SharedPackageContainerCreationCollisionOptions
var value = Windows.Management.Deployment.SharedPackageContainerCreationCollisionOptions.failIfExists
Public Enum SharedPackageContainerCreationCollisionOptions
Inheritance
SharedPackageContainerCreationCollisionOptions
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)

Fields

Name Value Description
FailIfExists 0

Fail if the shared package container exists.

MergeWithExisting 1

Merge the contents of the existing package container with the contents of the new package container.

ReplaceExisting 2

Replace the existing package container with the new package container.

Applies to