VintaSoft Imaging .NET SDK 15.1: Документация для Веб разработчика
Vintasoft.Shared Namespace / WebRequestJS type / WebRequestJS Constructors / WebRequestJS Constructor(string,function)
Syntax BrowserCompatibility SeeAlso
В этом разделе
WebRequestJS Constructor(string,function)
В этом разделе
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
Название действия.
successFunc
Функция, которая будет выполнена, если запрос будет выполнен успешно.
Смотрите также