ApplicationDataSetVersionHandler
ApplicationDataSetVersionHandler
ApplicationDataSetVersionHandler
ApplicationDataSetVersionHandler
Delegate
Definition
Represents a method that handles the request to set the version of the application data in the application data store.
public : delegate void ApplicationDataSetVersionHandler(SetVersionRequest setVersionRequest)public delegate void ApplicationDataSetVersionHandler(SetVersionRequest setVersionRequest)Public Delegate ApplicationDataSetVersionHandler(setVersionRequest As SetVersionRequest)// You can use this delegate in JavaScript.
Parameters
- setVersionRequest
- SetVersionRequest SetVersionRequest SetVersionRequest SetVersionRequest
The set version request.
- Attributes
Windows 10 requirements
| Device family |
Windows 10 (introduced v10.0.10240.0)
|
| API contract |
Windows.Foundation.UniversalApiContract (introduced v1)
|
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.