MSApp object
[Some information relates to pre-released product which may be substantially modified before it's commercially released. Microsoft makes no warranties, express or implied, with respect to the information provided here.]
Represents an asynchronous operation within a Windows app using JavaScript.
Syntax
var asyncOperation = MSApp.clearTemporaryWebDataAsync(); asyncOperation.oncomplete = function() { console.log("Temporary web data cleared successfully"); }; asyncOperation.onerror = function() { console.log("Failed to clear temporary web data"); }; asyncOperation.start();
Members
The MSApp object has these types of members:
Methods
The MSApp object has these methods.
| Method | Description |
|---|---|
| start |
Starts the MSAppAsyncOperation. |
Properties
The MSApp object has these properties.
| Property | Description |
|---|---|
|
Represents an error in MSAppAsyncOperation. | |
|
Property for setting an event handler on completion of MSAppAsyncOperation. | |
|
Property for setting an event handler upon an error during MSAppAsyncOperation. | |
|
Represents the state of the asynchronous operation within the Windows app using JavaScript. | |
|
Represents the result of MSAppAsyncOperation. |