←Select platform

Stop Method (ITwainService)

Summary

Stops the scanning session.

Syntax

C#
VB
C++
[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 
) 
<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

Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.
Leadtools.Services.Twain Assembly
Click or drag to resize