SetVersionRequest SetVersionRequest SetVersionRequest SetVersionRequest Class

Provides data when an app sets the version of the application data in its app data store.

Syntax

Declaration

public sealed class SetVersionRequestpublic sealed class SetVersionRequestPublic NotInheritable Class SetVersionRequestpublic sealed class SetVersionRequest

Remarks

This object is accessed when you implement a ApplicationDataSetVersionHandler delegate to respond to the set version event.

Properties summary

Gets the current version.

Gets the requested version.

Methods summary

Requests that the set version request be delayed.

Properties

  • CurrentVersion
    CurrentVersion
    CurrentVersion
    CurrentVersion

    Gets the current version.

    public uint CurrentVersion { get; }public uint CurrentVersion { get; }Public ReadOnly Property CurrentVersion As uintpublic uint CurrentVersion { get; }

    Property Value

    • uint
      uint
      uint
      uint

      The current version.

  • DesiredVersion
    DesiredVersion
    DesiredVersion
    DesiredVersion

    Gets the requested version.

    public uint DesiredVersion { get; }public uint DesiredVersion { get; }Public ReadOnly Property DesiredVersion As uintpublic uint DesiredVersion { get; }

    Property Value

    • uint
      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 SetVersionDeferralpublic SetVersionDeferral GetDeferral()

    Returns

Device family

Windows 10 (introduced v10.0.10240.0)

API contract

Windows.Foundation.UniversalApiContract (introduced v1)

Attributes

Windows.Foundation.Metadata.ContractVersionAttribute
Windows.Foundation.Metadata.DualApiPartitionAttribute
Windows.Foundation.Metadata.MarshalingBehaviorAttribute

Details

Assembly

Windows.Storage.dll