code_junkie

Custom Windows Workflow activity that executes an asynchronous operation - redone using generic service

Nov 13th, 2011
120
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.25 KB | None | 0 0
  1. class WorkflowEnqueuerService : WorkflowRuntimeService
  2. {
  3. public void EnqueueItem(Guid workflowInstanceId, IComparable queueId, object item)
  4. {
  5. this.Runtime.GetWorkflow(workflowInstanceId).EnqueueItem(queueId, item, null, null);
  6. }
  7. }
Add Comment
Please, Sign In to add comment