VintaSoft Twain .NET SDK 15.0: Documentation for Web developer
Vintasoft.Shared Namespace / WebServiceJS type / addRequest Property
Syntax Exceptions BrowserCompatibility SeeAlso
In This Topic
    addRequest Method
    In This Topic
    Adds request to the web service.
    Syntax
    var instance = new Vintasoft.Shared.WebServiceJS(serviceRoute);
    
    var value; // Type: object
    
    // Parameters
    var request; // Type: WebRequestJS
    
    value = instance.addRequest(request);
    
    
    function addRequest(
    request
    An instance of WebRequestJS class.
    : WebRequestJS
    ) : object;

    Parameters

    request
    An instance of WebRequestJS class.

    Return Value

    Pair (WebServiceJS instance and XMLHttpRequest instance) if request was executed successfully; otherwise, null.
    Exceptions
    ExceptionDescription
    Thrown if argument has wrong type.
    Browser Compatibility
    9
    See Also