{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 'load(propertyNames, loadCompletedCallback, failedCallback, userContext)'
Method: load(propertyNames, loadCompletedCallback, failedCallback, userContext)
Method Full Name:     Sys$Services$_ProfileService$load(propertyNames, loadCompletedCallback, failedCallback, userContext)
Class: _ProfileService
Namespace: Sys.Services
Source File: MicrosoftAjax.debug.js
1   function Sys$Services$_ProfileService$load(propertyNames, loadCompletedCallback, failedCallback, userContext) {
2     /// <summary locid="M:J#Sys.Services._ProfileService.load" />
3     /// <param name="propertyNames" type="Array" elementType="String" optional="true" elementMayBeNull="false" mayBeNull="true"></param>
4     /// <param name="loadCompletedCallback" type="Function" optional="true" mayBeNull="true"></param>
5     /// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
6     /// <param name="userContext" optional="true" mayBeNull="true"></param>
7     var e = Function._validateParams(arguments, [
8     {name: "propertyNames", type: Array, mayBeNull: true, optional: true, elementType: String},
9     {name: "loadCompletedCallback", type: Function, mayBeNull: true, optional: true},
10    {name: "failedCallback", type: Function, mayBeNull: true, optional: true},
11    {name: "userContext", mayBeNull: true, optional: true}
12    ]);
13    if (e) throw e;
14    var parameters;
15    var methodName;
16    if (!propertyNames) {
17      methodName = "GetAllPropertiesForCurrentUser";
18      parameters = { authenticatedUserOnly: false };
19    }
20    else {
21      methodName = "GetPropertiesForCurrentUser";
22      parameters = { properties: this._clonePropertyNames(propertyNames), authenticatedUserOnly: false };
23    }
24    this._invoke(this._get_path(),
25    methodName,
26    false,
27    parameters,
28    Function.createDelegate(this, this._onLoadComplete),
29    Function.createDelegate(this, this._onLoadFailed),
30    [loadCompletedCallback, failedCallback, userContext]);
31  }
This is the JavaScript source for method load(propertyNames, loadCompletedCallback, failedCallback, userContext) from ASP.NET AJAX Library. Full name for this method is Sys$Services$_ProfileService$load(propertyNames, loadCompletedCallback, failedCallback, userContext). It belongs to the class _ProfileService, which is in Sys.Services namespace. This source is in MicrosoftAjax.debug.js file.
Bookmark and Share This
About  Contact  Privacy Policy  Site Map