ApplicationDataSetVersionHandler delegate

Applies to Windows and Windows Phone

Represents a method that handles the request to set the version of the application data in the application data store.

Syntax


var applicationDataSetVersionHandler = function(setVersionRequest) {
 /* Your code */
}

Attributes

[Version(0x06020000)]

Parameters

setVersionRequest

Type: SetVersionRequest

The set version request.

Remarks

The delegate must transform the existing application data from the app-defined schema format associated with the current version to the schema format associated with the requested version. If an unrecoverable error occurs during this operation, the delegate should throw an exception. If the delegate throws an exception, the system does not update the version number.

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Minimum supported phone

Windows Phone 8.1 [Windows Phone Silverlight 8.1 and Windows Runtime apps]

Namespace

Windows.Storage
Windows::Storage [C++]

Metadata

Windows.winmd

See also

ApplicationData.SetVersionAsync

 

 

Show:
© 2014 Microsoft