[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 ,
string commandName,
string ,
object
)
'Declaration
<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 As String, _
ByVal commandName As String, _
ByVal As String, _
ByVal As Object _
) As Stream
'Usage
Dim instance As ICommandService
Dim id As String
Dim commandName As String
Dim arguments As String
Dim userData As Object
Dim value As Stream
value = instance.Run(id, commandName, arguments, 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")]
Stream^ Run(
String^ ,
String^ commandName,
String^ ,
Object^
)