Gets information about the available TWAIN Data Sources.
[OperationContractAttribute(Name="QuerySourceInformation", Action="QuerySourceInformation")]
[WebInvokeAttribute(BodyStyle=WebMessageBodyStyle.WrappedRequest,
IsBodyStyleSetExplicitly=true,
IsRequestFormatSetExplicitly=true,
IsResponseFormatSetExplicitly=true,
Method="POST",
RequestFormat=WebMessageFormat.Json,
ResponseFormat=WebMessageFormat.Json)]
TwainSourceInformation[] QuerySourceInformation(
string ,
object
)
'Declaration
<OperationContractAttribute(Name="QuerySourceInformation", Action="QuerySourceInformation")>
<WebInvokeAttribute(BodyStyle=WebMessageBodyStyle.WrappedRequest,
IsBodyStyleSetExplicitly=True,
IsRequestFormatSetExplicitly=True,
IsResponseFormatSetExplicitly=True,
Method="POST",
RequestFormat=WebMessageFormat.Json,
ResponseFormat=WebMessageFormat.Json)>
Function QuerySourceInformation( _
ByVal As String, _
ByVal As Object _
) As TwainSourceInformation()
'Usage
Dim instance As ITwainService
Dim id As String
Dim userData As Object
Dim value() As TwainSourceInformation
value = instance.QuerySourceInformation(id, userData)
[OperationContractAttribute(Name="QuerySourceInformation", Action="QuerySourceInformation")]
[WebInvokeAttribute(BodyStyle=WebMessageBodyStyle.WrappedRequest,
IsBodyStyleSetExplicitly=true,
IsRequestFormatSetExplicitly=true,
IsResponseFormatSetExplicitly=true,
Method="POST",
RequestFormat=WebMessageFormat.Json,
ResponseFormat=WebMessageFormat.Json)]
array<TwainSourceInformation>^ QuerySourceInformation(
String^ ,
Object^
)
Parameters
- id
- The scanning session Id.
- userData
- The user data.
Return Value
Information about the available TWAIN Data Sources.