SetVersionRequest
SetVersionRequest
SetVersionRequest
SetVersionRequest
Class
Definition
Provides data when an app sets the version of the application data in its app data store.
public : sealed class SetVersionRequest : ISetVersionRequestpublic sealed class SetVersionRequest : ISetVersionRequestPublic NotInheritable Class SetVersionRequest Implements ISetVersionRequest// You can use this class in JavaScript.
- Attributes
Windows 10 requirements
| Device family |
Windows 10 (introduced v10.0.10240.0)
|
| API contract |
Windows.Foundation.UniversalApiContract (introduced v1)
|
Remarks
This object is accessed when you implement a ApplicationDataSetVersionHandler delegate to respond to the set version event.
Properties
CurrentVersion CurrentVersion CurrentVersion CurrentVersion
Gets the current version.
public : unsigned int CurrentVersion { get; }public uint CurrentVersion { get; }Public ReadOnly Property CurrentVersion As uint// You can use this property in JavaScript.
- Value
- unsigned int uint uint uint
The current version.
DesiredVersion DesiredVersion DesiredVersion DesiredVersion
Gets the requested version.
public : unsigned int DesiredVersion { get; }public uint DesiredVersion { get; }Public ReadOnly Property DesiredVersion As uint// You can use this property in JavaScript.
- Value
- unsigned int uint uint uint
The requested version.
Methods
GetDeferral() GetDeferral() GetDeferral() GetDeferral()
Requests that the set version request be delayed.
public : SetVersionDeferral GetDeferral()public SetVersionDeferral GetDeferral()Public Function GetDeferral() As SetVersionDeferral// You can use this method in JavaScript.
Returns
The set version deferral.