PackageDependencyLifetimeArtifactKind Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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. |