Syntax
[WebInvokeAttribute(BodyStyle=2,
Method="POST",
RequestFormat=1,
ResponseFormat=1)]
[OperationContractAttribute(Name="Run",
Action="Run",
AsyncPattern=false,
IsOneWay=false,
IsInitiating=true,
IsTerminating=false)]
public void Run(
string id,
int firstPageNumber,
int lastPageNumber,
string commandName,
string arguments,
object userData
)
<WebInvokeAttribute(BodyStyle:=2,
Method:="POST",
RequestFormat:=1,
ResponseFormat:=1),
OperationContractAttribute(Name:="Run",
Action:="Run",
AsyncPattern:=false,
IsOneWay:=false,
IsInitiating:=true,
IsTerminating:=false)>
Public Sub Run(
ByVal id As String,
ByVal firstPageNumber As Integer,
ByVal lastPageNumber As Integer,
ByVal commandName As String,
ByVal arguments As String,
ByVal userData As Object
)
public:
[WebInvokeAttribute(BodyStyle=2,
Method=L"POST",
RequestFormat=1,
ResponseFormat=1)]
[OperationContractAttribute(Name=L"Run",
Action=L"Run",
AsyncPattern=false,
IsOneWay=false,
IsInitiating=true,
IsTerminating=false)]
void Run(
String^ id,
Int32 firstPageNumber,
Int32 lastPageNumber,
String^ commandName,
String^ arguments,
Object^ userData
)
Parameters
firstPageNumber
First page to process.
lastPageNumber
Last page to process. Pass -1 to process pages inclusively starting with firstPageNumber to the last page.
commandName
Name of the command to run.
arguments
Arguments passed to the command to be run.
userData
User data object.