←Select platform

Stop Method

Summary

Stops the scanning session.

Syntax

C#
VB
C++
[OperationContractAttribute(Name="Stop", 
   Action="Stop", 
   AsyncPattern=false, 
   IsOneWay=false, 
   IsInitiating=true, 
   IsTerminating=false)] 
[WebInvokeAttribute(BodyStyle=2, 
   Method="POST", 
   RequestFormat=1, 
   ResponseFormat=1)] 
public void Stop( 
   string id, 
   object userData 
) 
  
<OperationContractAttribute(Name="Stop", Action="Stop")> 
<WebInvokeAttribute(Method="POST",  
   BodyStyle=WebMessageBodyStyle.WrappedRequest,  
   RequestFormat=WebMessageFormat.Json,  
   ResponseFormat=WebMessageFormat.Json,  
   IsBodyStyleSetExplicitly=True,  
   IsRequestFormatSetExplicitly=True,  
   IsResponseFormatSetExplicitly=True)> 
Sub Stop( _ 
   ByVal id As String, _ 
   ByVal userData As Object _ 
)  
[OperationContractAttribute(Name="Stop", Action="Stop")] 
[WebInvokeAttribute(Method="POST",  
   BodyStyle=WebMessageBodyStyle.WrappedRequest,  
   RequestFormat=WebMessageFormat.Json,  
   ResponseFormat=WebMessageFormat.Json,  
   IsBodyStyleSetExplicitly=true,  
   IsRequestFormatSetExplicitly=true,  
   IsResponseFormatSetExplicitly=true)] 
void Stop(  
   String^ id, 
   Object^ userData 
)  

Parameters

id
The scanning session Id.

userData
The user data.

Requirements

Target Platforms

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Services.Twain Assembly