Syntax
[WebGetAttribute(BodyStyle=WebMessageBodyStyle.Wrapped,
IsBodyStyleSetExplicitly=true,
IsRequestFormatSetExplicitly=true,
IsResponseFormatSetExplicitly=true,
RequestFormat=WebMessageFormat.Json,
ResponseFormat=WebMessageFormat.Json,
UriTemplate="RunCommand?id={id}&commandName={commandName}&arguments={arguments}&userData={userData}")]
[OperationContractAttribute(Name="RunCommand", Action="RunCommand")]
Stream Run(
string id,
string commandName,
string arguments,
object userData
)
<WebGetAttribute(BodyStyle=WebMessageBodyStyle.Wrapped,
IsBodyStyleSetExplicitly=True,
IsRequestFormatSetExplicitly=True,
IsResponseFormatSetExplicitly=True,
RequestFormat=WebMessageFormat.Json,
ResponseFormat=WebMessageFormat.Json,
UriTemplate="RunCommand?id={id}&commandName={commandName}&arguments={arguments}&userData={userData}")>
<OperationContractAttribute(Name="RunCommand", Action="RunCommand")>
Function Run( _
ByVal id As String, _
ByVal commandName As String, _
ByVal arguments As String, _
ByVal userData As Object _
) As Stream
[WebGetAttribute(BodyStyle=WebMessageBodyStyle.Wrapped,
IsBodyStyleSetExplicitly=true,
IsRequestFormatSetExplicitly=true,
IsResponseFormatSetExplicitly=true,
RequestFormat=WebMessageFormat.Json,
ResponseFormat=WebMessageFormat.Json,
UriTemplate="RunCommand?id={id}&commandName={commandName}&arguments={arguments}&userData={userData}")]
[OperationContractAttribute(Name="RunCommand", Action="RunCommand")]
Stream^ Run(
String^ id,
String^ commandName,
String^ arguments,
Object^ userData
)
Parameters
id
The scanning session Id.
commandName
The command name.
arguments
The command arguments.
Return Value
User custom data.