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.WebRequestExecutor aborted Property

Gets a value indicating whether the request associated with the executor was aborted.

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.

Syntax

var aborted = MyExecutor.get_aborted();

Return Value

true if the request associated with the executor was aborted; otherwise, false.

Remarks

When the current instance of the Sys.Net.WebRequestExecutor class is aborted, it must set its state to aborted and it must raise the completed event of the associated request object.

Example

The following example shows how to use the aborted property by using the default XMLHttpExecutor object.

JavaScript

// Check if the executor is aborted.
var execAborted = 
    executor.get_aborted();