Share via


PackageRuntimeManager Class

Definition

The PackageRuntimeManager class provides Dynamic Dependency support for PackageSet operations, especially when the caller might not know the exact package(s) involved—for instance, when targeting packages via ms-uup:. PackageRuntimeManager determines the packages involved for a PackageSet, and dynamically adds them to the caller's package graph.

public ref class PackageRuntimeManager sealed
/// [Windows.Foundation.Metadata.ContractVersion(Microsoft.Windows.Management.Deployment.PackageDeploymentContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class PackageRuntimeManager final
[Windows.Foundation.Metadata.ContractVersion(typeof(Microsoft.Windows.Management.Deployment.PackageDeploymentContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class PackageRuntimeManager
Public NotInheritable Class PackageRuntimeManager
Inheritance
Object Platform::Object IInspectable PackageRuntimeManager
Attributes

Methods

AddPackageSet(PackageSet, CreatePackageDependencyOptions, AddPackageDependencyOptions)
AddPackageSet(PackageSet)

Make the package(s) in the package set available to the calling process. That is, dynamically add the package(s) in the package set to the caller's package graph.

GetDefault()

Retrieves an instance of the manager.

RemovePackageSet(PackageSetRuntimeDisposition)

Applies to