Sys.Net.XmlHttpExecutor aborted Property

Returns a value that indicates whether the executor was stopped.

Note

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 aborted = MyExecutor.get_aborted();

Return Value

true if the executor was aborted; otherwise, false.

Remarks

The aborted property returns true only if a network request sent to the browser's XMLHTTP object did not return successfully because it was stopped or because it timed out. Otherwise, this property returns false.

Example

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

See Also

Reference

Sys.Net.WebRequestManager Class

Sys.Net.WebRequestExecutor Class

Sys.Net.XMLHttpExecutor Class

Other Resources

About Native XMLHTTP