WebRequestJS Constructor(string,function,function,object,boolean)
В этом разделе
Initializes a new instance of the
WebRequestJS class.
Синтаксис
// Parameters
var actionName; // Type: string
var successFunc; // Type: function
var errorFunc; // Type: function
var ajaxParams; // Type: object
var isAsync; // Type: boolean
var instance = new Vintasoft.Shared.WebRequestJS(actionName, successFunc, errorFunc, ajaxParams, isAsync);
function WebRequestJS(
: string,
: Function,
: Function,
: object,
: boolean
) : WebRequestJS;
Parameters
- actionName
- Action name.
- successFunc
- Function that will be executed if request is executed successfully.
- errorFunc
- Function that will be executed if request is failed.
- ajaxParams
- Object that contains the request parameters.
- isAsync
- A value indicating whether asynchronous request must be created. Default value is True.
Смотрите также