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 20.0.2020.3.31
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2020 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Services.Twain Assembly