{infiniteZest}
// Articles. Tutorials. Utilities.
Home  |   Search  |   Login  
Categories Skip Navigation Links
New / All
AJAX
Apple
ASP.NET
.NET
Git
Google / Android
Python / IronPython
Miscellaneous
SQL Server
AJAX Source Viewer
Slideshow of method source in a particular class. Choose a class from the Namespaces, Classes, or Methods menu item above.
Slideshow for Class 'XMLHttpExecutor'
Previous Method:

None


Current Method:

abort()
Next Method:

executeRequest()
Method 'abort()'
Method: abort()
Method Full Name:     Sys$Net$XMLHttpExecutor$abort()
Class: XMLHttpExecutor
Namespace: Sys.Net
Source File: MicrosoftAjax.debug.js
1   function Sys$Net$XMLHttpExecutor$abort() {
2     /// <summary locid="M:J#this._onTimeout" />
3     if (arguments.length !== 0) throw Error.parameterCount();
4     if (!this._started) {
5       throw Error.invalidOperation(Sys.Res.cannotAbortBeforeStart);
6     }
7     if (this._aborted || this._responseAvailable || this._timedOut)
8     return;
9     this._aborted = true;
10    this._clearTimer();
11    if (this._xmlHttpRequest && !this._responseAvailable) {
12      this._xmlHttpRequest.onreadystatechange = Function.emptyMethod;
13      this._xmlHttpRequest.abort();
14      
15      this._xmlHttpRequest = null;
16      this._webRequest.completed(Sys.EventArgs.Empty);
17    }
18  }
This is the JavaScript source for method abort() from ASP.NET AJAX Library. Full name for this method is Sys$Net$XMLHttpExecutor$abort(). It belongs to the class XMLHttpExecutor, which is in Sys.Net namespace. This source is in MicrosoftAjax.debug.js file.
Bookmark and Share This
About  Contact  Privacy Policy  Site Map