Error processing SSI file
LEADTOOLS WCF (Leadtools.Services.Twain assembly)

Show in webframe

Run Method (ICommandService)






The scanning session Id.
The command name.
The command arguments.
The user data.
Runs custom user commands.
Syntax
[WebGetAttribute(BodyStyle=WebMessageBodyStyle.Wrapped, 
   IsBodyStyleSetExplicitly=true, 
   IsRequestFormatSetExplicitly=true, 
   IsResponseFormatSetExplicitly=true, 
   RequestFormat=WebMessageFormat.Json, 
   ResponseFormat=WebMessageFormat.Json, 
   UriTemplate="RunCommand?id={id}&commandName={commandName}&arguments={arguments}&userData={userData}")]
[OperationContractAttribute(Name="RunCommand", Action="RunCommand")]
Stream Run( 
   string id,
   string commandName,
   string arguments,
   object userData
)
'Declaration
 
<WebGetAttribute(BodyStyle=WebMessageBodyStyle.Wrapped, 
   IsBodyStyleSetExplicitly=True, 
   IsRequestFormatSetExplicitly=True, 
   IsResponseFormatSetExplicitly=True, 
   RequestFormat=WebMessageFormat.Json, 
   ResponseFormat=WebMessageFormat.Json, 
   UriTemplate="RunCommand?id={id}&commandName={commandName}&arguments={arguments}&userData={userData}")>
<OperationContractAttribute(Name="RunCommand", Action="RunCommand")>
Function Run( _
   ByVal id As String, _
   ByVal commandName As String, _
   ByVal arguments As String, _
   ByVal userData As Object _
) As Stream
'Usage
 
Dim instance As ICommandService
Dim id As String
Dim commandName As String
Dim arguments As String
Dim userData As Object
Dim value As Stream
 
value = instance.Run(id, commandName, arguments, userData)

            

            
[WebGetAttribute(BodyStyle=WebMessageBodyStyle.Wrapped, 
   IsBodyStyleSetExplicitly=true, 
   IsRequestFormatSetExplicitly=true, 
   IsResponseFormatSetExplicitly=true, 
   RequestFormat=WebMessageFormat.Json, 
   ResponseFormat=WebMessageFormat.Json, 
   UriTemplate="RunCommand?id={id}&commandName={commandName}&arguments={arguments}&userData={userData}")]
[OperationContractAttribute(Name="RunCommand", Action="RunCommand")]
Stream^ Run( 
   String^ id,
   String^ commandName,
   String^ arguments,
   Object^ userData
) 

Parameters

id
The scanning session Id.
commandName
The command name.
arguments
The command arguments.
userData
The user data.

Return Value

User custom data.
Requirements

Target Platforms

See Also

Reference

ICommandService Interface
ICommandService Members

Error processing SSI file