Sys.Net.XmlHttpExecutor responseAvailable Property

Returns a value indicating whether the network request returned without being aborted or timing out.


To get or set property values for client API properties, you must call property accessor methods that are named with the get_ and set_ prefixes. For example, to get or set a value for a property such as cancel, you call the get_cancel or set_cancel methods.

var rAvailable = MyExecutor.get_responseAvailable();

Return Value

true if the network request returned without being aborted or timing out; otherwise, false.


The responseAvailable property returns true only if the network request sent to the underlying browser's XMLHTTP object returned successfully without being stopped or timing out. Otherwise, this method returns false.


The following example shows how to use the responseAvailable property. This code is part of a complete example found in the Sys.Net.XmlHttpExecutor class overview.


See Also


Sys.Net.WebRequestManager Class

Sys.Net.WebRequestExecutor Class

Sys.Net.XMLHttpExecutor Class

Other Resources

About Native XMLHTTP