Gets the status of the service.
[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 ,
object
)
'Declaration
<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 As String, _
ByVal As Object _
) As TwainStatus
'Usage
Dim instance As ITwainService
Dim id As String
Dim userData As Object
Dim value As TwainStatus
value = instance.GetStatus(id, userData)
[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^ ,
Object^
)
Parameters
- id
- The scanning session Id.
- userData
- The user data.
Return Value
The status of the service.