VintaSoft Twain .NET SDK 15.4: Документация для Веб разработчика
Vintasoft.Shared Namespace / WebRequestJS type / WebRequestJS Constructors / WebRequestJS Constructor(string,function,function,object)
Синтаксис Совместимость с браузерами Смотрите также
В этом разделе
WebRequestJS Constructor(string,function,function,object)
В этом разделе
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);

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.
Смотрите также