Windows Dev Center

result property

Returns the result of a request.

This property is read-only.


ptr = object.result


Property values

Type: any

Varies according to the request.


This method can throw the following DOMException exceptions:

Note  As of a Windows Store app using JavaScript, the code property is deprecated in favor of the name property, which is preferred for standards compliance and future compatibility.
Exception propertiesCondition
name: InvalidStateError
code: DOMException.INVALID_STATE_ERR (11)

Attempted to read the result property before the request completed.


Standards information


The value of that result property depends on the original request. For example, if the original request opened a database, the value of the result property would be an IDBDatabase object.

See also




© 2015 Microsoft