GetStatus Method

Summary
Gets the status of the service.
Syntax
C#
VB
C++
[OperationContractAttribute(Name="GetStatus", 
   Action="GetStatus", 
   AsyncPattern=false, 
   IsOneWay=false, 
   IsInitiating=true, 
   IsTerminating=false)] 
[WebInvokeAttribute(BodyStyle=2, 
   Method="POST", 
   RequestFormat=1, 
   ResponseFormat=1)] 
public TwainStatus GetStatus( 
   string id, 
   object userData 
) 
  
<OperationContractAttribute(Name="GetStatus", Action="GetStatus")> 
<WebInvokeAttribute(BodyStyle=WebMessageBodyStyle.WrappedRequest,  
   IsBodyStyleSetExplicitly=True,  
   IsRequestFormatSetExplicitly=True,  
   IsResponseFormatSetExplicitly=True,  
   Method="POST",  
   RequestFormat=WebMessageFormat.Json,  
   ResponseFormat=WebMessageFormat.Json)> 
Function GetStatus( _ 
   ByVal id As String, _ 
   ByVal userData As Object _ 
) As TwainStatus 
[OperationContractAttribute(Name="GetStatus", Action="GetStatus")] 
[WebInvokeAttribute(BodyStyle=WebMessageBodyStyle.WrappedRequest,  
   IsBodyStyleSetExplicitly=true,  
   IsRequestFormatSetExplicitly=true,  
   IsResponseFormatSetExplicitly=true,  
   Method="POST",  
   RequestFormat=WebMessageFormat.Json,  
   ResponseFormat=WebMessageFormat.Json)] 
TwainStatus^ GetStatus(  
   String^ id, 
   Object^ userData 
)  

Parameters

id
The scanning session Id.

userData
The user data.

Return Value

The status of the service.

Requirements

Target Platforms

Help Version 21.0.2021.6.30
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Services.Twain Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.