Udostępnij za pośrednictwem


SetVersionRequest Class

Definition

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

public ref class SetVersionRequest sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class SetVersionRequest final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class SetVersionRequest
Public NotInheritable Class SetVersionRequest
Inheritance
Object Platform::Object IInspectable SetVersionRequest
Attributes

Windows requirements

Device family
Windows 10 (introduced in 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v1.0)

Remarks

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

Properties

CurrentVersion

Gets the current version.

DesiredVersion

Gets the requested version.

Methods

GetDeferral()

Requests that the set version request be delayed.

Applies to