Chapter 10 Quick Reference

To

Do This

Handle an external event, such as from the host application

Drop an instance of the HandleExternalEvent activity into your workflow. If you prefer, you can use wca.exe to build classes derived from HandleExternalEvent that have basic settings and properties assigned for you (via code that wca.exe injects as it creates the new classes).

Introduce a delay in your workflow

Drag and drop an instance of the Delay activity into your workflow, and set its TimeoutDuration value to the length of time you want to delay.

Use an event to drive workflow execution

The EventDriven activity is made just for this situation. When (or if) the event triggers the event handling activity you place in the EventDriven activity, activities ...

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.