Sys.Net.WebRequestExecutor abort Method
Stops the pending network request issued by the executor.
The specifics of aborting a request vary depending on how an executor is implemented. However, all executors that derive from WebRequestExecutor must set their state to aborted and must raise the completed event of the associated Sys.Net.WebRequest object.
The executor properties do not contain consistent data after abort has been called.
The following example shows how to abort a request using the default Sys.Net.XMLHttpExecutor class.