// Articles. Tutorials. Utilities.
Home  |   Search  |   Login  
Categories Skip Navigation Links
New / All
Google / Android
Python / IronPython
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 'load(loadCompletedCallback, failedCallback, userContext)'
Method: load(loadCompletedCallback, failedCallback, userContext)
Method Full Name:     Sys$Services$_RoleService$load(loadCompletedCallback, failedCallback, userContext)
Class: _RoleService
Namespace: Sys.Services
Source File: MicrosoftAjax.debug.js
1   function Sys$Services$_RoleService$load(loadCompletedCallback, failedCallback, userContext) {
2     /// <summary locid="M:J#Sys.Services._RoleService.load" />
3     /// <param name="loadCompletedCallback" type="Function" optional="true" mayBeNull="true"></param>
4     /// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
5     /// <param name="userContext" optional="true" mayBeNull="true"></param>
6     var e = Function._validateParams(arguments, [
7     {name: "loadCompletedCallback", type: Function, mayBeNull: true, optional: true},
8     {name: "failedCallback", type: Function, mayBeNull: true, optional: true},
9     {name: "userContext", mayBeNull: true, optional: true}
10    ]);
11    if (e) throw e;
12    Sys.Net.WebServiceProxy.invoke(
13    this._get_path(),
14    "GetRolesForCurrentUser",
15    false,
16    {} ,
17    Function.createDelegate(this, this._onLoadComplete),
18    Function.createDelegate(this, this._onLoadFailed),
19    [loadCompletedCallback, failedCallback, userContext],
20    this.get_timeout());
21  }
This is the JavaScript source for method load(loadCompletedCallback, failedCallback, userContext) from ASP.NET AJAX Library. Full name for this method is Sys$Services$_RoleService$load(loadCompletedCallback, failedCallback, userContext). It belongs to the class _RoleService, which is in Sys.Services namespace. This source is in MicrosoftAjax.debug.js file.
Bookmark and Share This
About  Contact  Privacy Policy  Site Map