本文整理匯總了C#中Slickflow.Engine.Service.WorkflowService.SetTaskRead方法的典型用法代碼示例。如果您正苦於以下問題:C# WorkflowService.SetTaskRead方法的具體用法?C# WorkflowService.SetTaskRead怎麽用?C# WorkflowService.SetTaskRead使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在類Slickflow.Engine.Service.WorkflowService
的用法示例。
在下文中一共展示了WorkflowService.SetTaskRead方法的2個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的C#代碼示例。
示例1: SetTaskRead2000
public void SetTaskRead2000()
{
WfAppRunner taskRunner = new WfAppRunner();
taskRunner.TaskID = 18014;
taskRunner.UserID = 10;
taskRunner.UserName = "Long";
IWorkflowService serviceA;
for (var i = 0; i < 2000; i++)
{
serviceA = new WorkflowService();
serviceA.SetTaskRead(taskRunner);
}
}
示例2: ReadTask
public ResponseResult ReadTask(WfAppRunner runner)
{
IWorkflowService wfService = new WorkflowService();
bool isRead = wfService.SetTaskRead(runner);
return ResponseResult.Success();
}