Documentation for: ASP.NET Ajax Version 1.0

This documentation is for a previous version. For the current released version, see the ASP.NET Ajax documentation on MSDN.








Sys.Net.XmlHttpExecutor aborted Property

Returns a value that indicates whether the executor was stopped.


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.


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.


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.


// Check if the executor is aborted.
var execAborted =