AppUpdateOptions Class

Definition

Provides options you can use in several method overloads of the AppInstallManager class for searching for app updates.

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

Windows requirements

Device family
Windows 10, version 1803 (introduced in 10.0.17134.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v6.0)
App capabilities
runFullTrust

Remarks

Version history

Windows version SDK version Value added
1809 17763 AutomaticallyDownloadAndInstallUpdateIfFound

Constructors

AppUpdateOptions()

Creates and initializes a new instance of the AppUpdateOptions class.

Properties

AllowForcedAppRestart

Gets or sets a value that specifies whether to allow a forced restart of the app that is being queried for updates.

AutomaticallyDownloadAndInstallUpdateIfFound

Gets or sets a value that indicates whether the updates should be automatically downloaded and installed if they are found.

CatalogId

Gets or sets the catalog ID of the app to be queried for updates.

Applies to

See also