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
)
<OperationContractAttribute(Name="SelectSource", Action="SelectSource")>
<WebInvokeAttribute(BodyStyle=WebMessageBodyStyle.WrappedRequest,
IsBodyStyleSetExplicitly=True,
IsRequestFormatSetExplicitly=True,
IsResponseFormatSetExplicitly=True,
Method="POST",
RequestFormat=WebMessageFormat.Json,
ResponseFormat=WebMessageFormat.Json)>
Sub SelectSource( _
ByVal id As String, _
ByVal sourceName As String, _
ByVal userData As Object _
)
[OperationContractAttribute(Name="SelectSource", Action="SelectSource")]
[WebInvokeAttribute(BodyStyle=WebMessageBodyStyle.WrappedRequest,
IsBodyStyleSetExplicitly=true,
IsRequestFormatSetExplicitly=true,
IsResponseFormatSetExplicitly=true,
Method="POST",
RequestFormat=WebMessageFormat.Json,
ResponseFormat=WebMessageFormat.Json)]
void SelectSource(
String^ id,
String^ sourceName,
Object^ userData
)
Parameters
id
The scanning session Id.
sourceName
String contains source name to be selected.