PackageAllUserProvisioningOptions Class

Definition

Provides options for calls to ProvisionPackageForAllUsersAsync, including specifying optional packages to install.

public ref class PackageAllUserProvisioningOptions sealed
/// [Windows.Foundation.Metadata.Activatable(851968, "Windows.Foundation.UniversalApiContract")]
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 851968)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class PackageAllUserProvisioningOptions final
[Windows.Foundation.Metadata.Activatable(851968, "Windows.Foundation.UniversalApiContract")]
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 851968)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class PackageAllUserProvisioningOptions
function PackageAllUserProvisioningOptions()
Public NotInheritable Class PackageAllUserProvisioningOptions
Inheritance
Object Platform::Object IInspectable PackageAllUserProvisioningOptions
Attributes

Windows requirements

Device family
Windows 11 (introduced in 10.0.22000.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v14.0)

Constructors

PackageAllUserProvisioningOptions()

Initializes a new instance of the PackageAllUserProvisioningOptions class.

Properties

DeferAutomaticRegistration
OptionalPackageFamilyNames

Gets the list of optional family names of packages that form a related set with the specified main package family.

ProjectionOrderPackageFamilyNames

Gets the list of package family names that will determine the order that package contents will be projected to the common location, for related sets with payload that requires projection into a common folder.

Applies to