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

Show in webframe

IsAvailable Method (ITwainService)






The scanning session Id.
The user data.
Determines whether a TWAIN source is installed.
Syntax
[OperationContractAttribute(Name="IsAvailable", Action="IsAvailable")]
[WebInvokeAttribute(BodyStyle=WebMessageBodyStyle.WrappedRequest, 
   IsBodyStyleSetExplicitly=true, 
   IsRequestFormatSetExplicitly=true, 
   IsResponseFormatSetExplicitly=true, 
   Method="POST", 
   RequestFormat=WebMessageFormat.Json, 
   ResponseFormat=WebMessageFormat.Json)]
bool IsAvailable( 
   string id,
   object userData
)
'Declaration
 
<OperationContractAttribute(Name="IsAvailable", Action="IsAvailable")>
<WebInvokeAttribute(BodyStyle=WebMessageBodyStyle.WrappedRequest, 
   IsBodyStyleSetExplicitly=True, 
   IsRequestFormatSetExplicitly=True, 
   IsResponseFormatSetExplicitly=True, 
   Method="POST", 
   RequestFormat=WebMessageFormat.Json, 
   ResponseFormat=WebMessageFormat.Json)>
Function IsAvailable( _
   ByVal id As String, _
   ByVal userData As Object _
) As Boolean
'Usage
 
Dim instance As ITwainService
Dim id As String
Dim userData As Object
Dim value As Boolean
 
value = instance.IsAvailable(id, userData)

            

            
[OperationContractAttribute(Name="IsAvailable", Action="IsAvailable")]
[WebInvokeAttribute(BodyStyle=WebMessageBodyStyle.WrappedRequest, 
   IsBodyStyleSetExplicitly=true, 
   IsRequestFormatSetExplicitly=true, 
   IsResponseFormatSetExplicitly=true, 
   Method="POST", 
   RequestFormat=WebMessageFormat.Json, 
   ResponseFormat=WebMessageFormat.Json)]
bool IsAvailable( 
   String^ id,
   Object^ userData
) 

Parameters

id
The scanning session Id.
userData
The user data.

Return Value

true if at least one TWAIN source is installed; otherwise, false.
Requirements

Target Platforms

See Also

Reference

ITwainService Interface
ITwainService Members

Error processing SSI file