{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
View the source code of a Method from ASP.NET AJAX Library. Choose a method from the menu items above (Namespaces, Classes, or Methods).
Method '_invoke(servicePath, methodName, useGet, params, onSuccess, onFailure, userContext)'
Method: _invoke(servicePath, methodName, useGet, params, onSuccess, onFailure, userContext)
Method Full Name:     Sys$Net$WebServiceProxy$_invoke(servicePath, methodName, useGet, params, onSuccess, onFailure, userContext)
Class: WebServiceProxy
Namespace: Sys.Net
Source File: MicrosoftAjax.debug.js
1   function Sys$Net$WebServiceProxy$_invoke(servicePath, methodName, useGet, params, onSuccess, onFailure, userContext) {
2     /// <summary locid="M:J#Sys.Net.WebServiceProxy._invoke" />
3     /// <param name="servicePath" type="String"></param>
4     /// <param name="methodName" type="String"></param>
5     /// <param name="useGet" type="Boolean"></param>
6     /// <param name="params"></param>
7     /// <param name="onSuccess" type="Function" mayBeNull="true" optional="true"></param>
8     /// <param name="onFailure" type="Function" mayBeNull="true" optional="true"></param>
9     /// <param name="userContext" mayBeNull="true" optional="true"></param>
10    /// <returns type="Sys.Net.WebRequest"></returns>
11    var e = Function._validateParams(arguments, [
12    {name: "servicePath", type: String},
13    {name: "methodName", type: String},
14    {name: "useGet", type: Boolean},
15    {name: "params"},
16    {name: "onSuccess", type: Function, mayBeNull: true, optional: true},
17    {name: "onFailure", type: Function, mayBeNull: true, optional: true},
18    {name: "userContext", mayBeNull: true, optional: true}
19    ]);
20    if (e) throw e;
21    if (onSuccess === null || typeof onSuccess === 'undefined') onSuccess = this.get_defaultSucceededCallback();
22    if (onFailure === null || typeof onFailure === 'undefined') onFailure = this.get_defaultFailedCallback();
23    if (userContext === null || typeof userContext === 'undefined') userContext = this.get_defaultUserContext();
24    
25    return Sys.Net.WebServiceProxy.invoke(servicePath, methodName, useGet, params, onSuccess, onFailure, userContext, this.get_timeout());
26  }
This is the JavaScript source for method _invoke(servicePath, methodName, useGet, params, onSuccess, onFailure, userContext) from ASP.NET AJAX Library. Full name for this method is Sys$Net$WebServiceProxy$_invoke(servicePath, methodName, useGet, params, onSuccess, onFailure, userContext). It belongs to the class WebServiceProxy, which is in Sys.Net namespace. This source is in MicrosoftAjax.debug.js file.
Bookmark and Share This
About  Contact  Privacy Policy  Site Map