// 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 'format(message)'
Method: format(message)
Method Full Name:     Error$format(message)
Class: Error
Namespace: Global (MicrosoftAjax.debug.js)
Source File: MicrosoftAjax.debug.js
1   Error.format = function Error$format(message) {
2     /// <summary locid="M:J#Error.format" />
3     /// <param name="message" type="String" optional="true" mayBeNull="true"></param>
4     /// <returns></returns>
5     var e = Function._validateParams(arguments, [
6     {name: "message", type: String, mayBeNull: true, optional: true}
7     ]);
8     if (e) throw e;
9     var displayMessage = "Sys.FormatException: " + (message ? message : Sys.Res.format);
10    var e = Error.create(displayMessage, {name: 'Sys.FormatException'});
11    e.popStackFrame();
12    return e;
13  }
This is the JavaScript source for method format(message) from ASP.NET AJAX Library. Full name for this method is Error$format(message). It belongs to the class Error, which is in Global (MicrosoftAjax.debug.js) namespace. This source is in MicrosoftAjax.debug.js file.
Bookmark and Share This
About  Contact  Privacy Policy  Site Map