PackageRuntimeManager Class
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.
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
- 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) |