Syntax
[WebInvokeAttribute(BodyStyle=2,
Method="POST",
RequestFormat=1,
ResponseFormat=1)]
[OperationContractAttribute(Name="SelectSource",
Action="SelectSource",
AsyncPattern=false,
IsOneWay=false,
IsInitiating=true,
IsTerminating=false)]
public void SelectSource(
string id,
string sourceName,
object userData
)
<WebInvokeAttribute(BodyStyle=WebMessageBodyStyle.WrappedRequest,
IsBodyStyleSetExplicitly=True,
IsRequestFormatSetExplicitly=True,
IsResponseFormatSetExplicitly=True,
Method="POST",
RequestFormat=WebMessageFormat.Json,
ResponseFormat=WebMessageFormat.Json)>
<OperationContractAttribute(Name="SelectSource", Action="SelectSource")>
Sub SelectSource( _
ByVal id As String, _
ByVal sourceName As String, _
ByVal userData As Object _
)
[WebInvokeAttribute(BodyStyle=WebMessageBodyStyle.WrappedRequest,
IsBodyStyleSetExplicitly=true,
IsRequestFormatSetExplicitly=true,
IsResponseFormatSetExplicitly=true,
Method="POST",
RequestFormat=WebMessageFormat.Json,
ResponseFormat=WebMessageFormat.Json)]
[OperationContractAttribute(Name="SelectSource", Action="SelectSource")]
void SelectSource(
String^ id,
String^ sourceName,
Object^ userData
)
Parameters
id
The scanning session Id.
sourceName
String contains source name to be selected.