VintaSoft Twain .NET SDK 15.1: Документация для Веб разработчика
Vintasoft.Shared Namespace / WebRequestJS type / WebRequestJS Constructors / WebRequestJS Constructor(string,function,function,object,boolean)
Синтаксис Совместимость с браузерами Смотрите также
В этом разделе
    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(
    actionName
    Action name.
    : string,
    successFunc
    Function that will be executed if request is executed successfully.
    : Function,
    errorFunc
    Function that will be executed if request is failed.
    : Function,
    ajaxParams
    Object that contains the request parameters.
    : object,
    isAsync
    A value indicating whether asynchronous request must be created. Default value is True.
    : 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.
    Смотрите также