VintaSoft Barcode .NET SDK v10.0
ExecuteCommand Method




Vintasoft.Barcode.Web.HttpHandlers Namespace > VintasoftBarcodeHandler Class : ExecuteCommand Method
An HttpContext object that provides references to the intrinsic server objects (for example, Request, Response, Session, and Server) used to service HTTP requests.
HTTP command name.
Executes HTTP command and returns the execution result.
Syntax
'Declaration
 
Protected Overridable Function ExecuteCommand( _
   ByVal context As HttpContext, _
   ByVal commandName As String _
) As String
'Usage
 
Dim instance As VintasoftBarcodeHandler
Dim context As HttpContext
Dim commandName As String
Dim value As String
 
value = instance.ExecuteCommand(context, commandName)
protected virtual string ExecuteCommand( 
   HttpContext context,
   string commandName
)
protected: virtual string* ExecuteCommand( 
   HttpContext* context,
   string* commandName
) 
protected:
virtual String^ ExecuteCommand( 
   HttpContext^ context,
   String^ commandName
) 

Parameters

context
An HttpContext object that provides references to the intrinsic server objects (for example, Request, Response, Session, and Server) used to service HTTP requests.
commandName
HTTP command name.

Return Value

JSON string that contains result of HTTP command execution.
Remarks
By default this method supports the "ReadBarcodes" command only.
Requirements

Target Platforms: Windows 8, Windows 7, Windows Vista, Windows XP, Windows Server 2012, Windows Server 2008, Windows Server 2003

See Also

Reference

VintasoftBarcodeHandler Class
VintasoftBarcodeHandler Members