PackageSet 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.
Class that represents a package set, which is a group of packages to be operated on with one request. A package set provides a convenient means to perform multiple operations.
![NOTE] There's no ordering guarantee of items processed in a PackageSet.
public ref class PackageSet sealed
/// [Windows.Foundation.Metadata.Activatable(65536, "Microsoft.Windows.Management.Deployment.PackageDeploymentContract")]
/// [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 PackageSet final
[Windows.Foundation.Metadata.Activatable(65536, "Microsoft.Windows.Management.Deployment.PackageDeploymentContract")]
[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 PackageSet
function PackageSet()
Public NotInheritable Class PackageSet
- Inheritance
- Attributes
Constructors
PackageSet() |
Constructs a new PackageSet object. |
Properties
Id |
Gets or sets an optional property that's used primarily for logging and troubleshooting. |
Items |
Gets the collection of packages in the set. This collection must contain one or more items. |
PackageUri |
Gets or sets an optional default URI for the package set; to be used if the PackageSetItem.PackageUri of a package in the set isn't specified, and one is needed. |