VintaSoft Twain .NET SDK v10.2
WebRequestJS Constructor
Vintasoft.Shared Namespace > WebRequestJS type : WebRequestJS Constructor
Action name.
Function that will be executed if request is executed successfully.
Function that will be executed if request is failed.
Object that contains the request parameters.
Web request to a web service.
Syntax
// Parameters
var actionName; // Type:  string
var successFunc; // Type:  object
var errorFunc; // Type:  object
var ajaxParams; // Type:  object

var instance = new Vintasoft.Shared.WebRequestJS(actionName, successFunc, errorFunc, ajaxParams);
function WebRequestJS( 
   actionName : string,
   successFunc : object,
   errorFunc : object,
   ajaxParams : object
) : 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.
Browser Compatibility
9
5
11
5
See Also

Reference

WebRequestJS type