Share via


PackageDependencyLifetimeArtifactKind Enum

Definition

Defines the type of artifacts you can assign to the LifetimeArtifactKind property to define the lifetime of a package dependency.

public enum class PackageDependencyLifetimeArtifactKind
/// [Windows.Foundation.Metadata.Version(1)]
enum class PackageDependencyLifetimeArtifactKind
/// [Windows.Foundation.Metadata.ContractVersion(Microsoft.Windows.ApplicationModel.DynamicDependency.DynamicDependencyContract, 65536)]
enum class PackageDependencyLifetimeArtifactKind
[Windows.Foundation.Metadata.Version(1)]
public enum PackageDependencyLifetimeArtifactKind
[Windows.Foundation.Metadata.ContractVersion(typeof(Microsoft.Windows.ApplicationModel.DynamicDependency.DynamicDependencyContract), 65536)]
public enum PackageDependencyLifetimeArtifactKind
var value = Microsoft.Windows.ApplicationModel.DynamicDependency.PackageDependencyLifetimeArtifactKind.process
Public Enum PackageDependencyLifetimeArtifactKind
Inheritance
PackageDependencyLifetimeArtifactKind
Attributes

Fields

Name Value Description
Process 0

The current process is the lifetime artifact. The package dependency is implicitly deleted when the process terminates.

FilePath 1

The lifetime artifact is an absolute filename or path. The package dependency is implicitly deleted when this is deleted.

RegistryKey 2

The lifetime artifact is a registry key in the format root\subkey, where root is one of the following: HKEY_LOCAL_MACHINE, HKEY_CURRENT_USER, HKEY_CLASSES_ROOT, or HKEY_USERS. The package dependency is implicitly deleted when this is deleted.

Applies to

See also