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

Show in webframe

Init Method (ITwainService)






The TWAIN version information.
The user data.
Initializes the TWAIN service.
Syntax
[WebInvokeAttribute(Method="POST", 
   BodyStyle=WebMessageBodyStyle.WrappedRequest, 
   RequestFormat=WebMessageFormat.Json, 
   ResponseFormat=WebMessageFormat.Json, 
   IsBodyStyleSetExplicitly=true, 
   IsRequestFormatSetExplicitly=true, 
   IsResponseFormatSetExplicitly=true)]
[OperationContractAttribute(Name="Init", Action="Init")]
string Init( 
   string version,
   object userData
)
'Declaration
 
<WebInvokeAttribute(Method="POST", 
   BodyStyle=WebMessageBodyStyle.WrappedRequest, 
   RequestFormat=WebMessageFormat.Json, 
   ResponseFormat=WebMessageFormat.Json, 
   IsBodyStyleSetExplicitly=True, 
   IsRequestFormatSetExplicitly=True, 
   IsResponseFormatSetExplicitly=True)>
<OperationContractAttribute(Name="Init", Action="Init")>
Function Init( _
   ByVal version As String, _
   ByVal userData As Object _
) As String
'Usage
 
Dim instance As ITwainService
Dim version As String
Dim userData As Object
Dim value As String
 
value = instance.Init(version, userData)

            

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

Parameters

version
The TWAIN version information.
userData
The user data.

Return Value

The created session id.
Requirements

Target Platforms

See Also

Reference

ITwainService Interface
ITwainService Members

Error processing SSI file