Chapter 3 Quick Reference
To | Do This |
---|---|
Start a workflow instance without parameters | Use the WorkflowRuntime object’s CreateWorkflow method, passing in the type of the workflow definition. |
Start a workflow instance with parameters | Use the WorkflowRuntime object’s CreateWorkflow method, passing in the type of the workflow definition along with a generic Dictionary object that contains the parameters. The key for each value should be a string that matches a public property of the workflow definition. The value should simply be an object. |
Determine workflow status | Request the workflow definition from the executing workflow instance, and query the activity’s ExecutionStatus property. |
Terminate an instance | Call the Terminate method exposed by the WorkflowInstance ... |
Get Microsoft® Windows® Workflow Foundation Step by Step now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.