StorePackageInstallOptions Class

Definition

Represents options that can be specified when using the RequestDownloadAndInstallStorePackagesAsync method to download and install downloadable content (DLC) packages for the current app.

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

Windows requirements

Device family
Windows 10, version 1803 (introduced in 10.0.17134.0)
API contract
Windows.Services.Store.StoreContract (introduced in v3.0)

Remarks

Note

DLC packages are not available to all developer accounts.

Constructors

StorePackageInstallOptions()

Creates a new instance of the StorePackageInstallOptions class.

Properties

AllowForcedAppRestart

Gets or sets a value that indicates whether the OS can force the app to restart after installing the downloadable content (DLC) packages for the current app by using the RequestDownloadAndInstallStorePackagesAsync method.

Applies to

See also