GetStatus Method (ITwainService)
Summary
Gets the status of the service.
Syntax
[OperationContractAttribute(Name="GetStatus", Action="GetStatus")]
[WebInvokeAttribute(BodyStyle=WebMessageBodyStyle.WrappedRequest,
IsBodyStyleSetExplicitly=true,
IsRequestFormatSetExplicitly=true,
IsResponseFormatSetExplicitly=true,
Method="POST",
RequestFormat=WebMessageFormat.Json,
ResponseFormat=WebMessageFormat.Json)]
Leadtools.Services.Twain.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 Leadtools.Services.Twain.TwainStatus
[OperationContractAttribute(Name="GetStatus", Action="GetStatus")]
[WebInvokeAttribute(BodyStyle=WebMessageBodyStyle.WrappedRequest,
IsBodyStyleSetExplicitly=true,
IsRequestFormatSetExplicitly=true,
IsResponseFormatSetExplicitly=true,
Method="POST",
RequestFormat=WebMessageFormat.Json,
ResponseFormat=WebMessageFormat.Json)]
Leadtools.Services.Twain.TwainStatus^ GetStatus(
String^ id,
Object^ userData
)
Parameters
id
The scanning session Id.
Return Value
The status of the service.