B. Control Flow Patterns

In Chapters 1 through 8, we developed several useful composite activities in order to illustrate concepts and features of the WF programming model. The purpose of this appendix is to explore different kinds of control flow patterns that composite activities can support.

A composite activity effectively has two parts:

• A set of child activities

• Information used to manage the execution of the child activities

The Sequence activity, discussed in Chapter 3, “Activity Execution,” schedules the execution of its child activities one by one. Sequence therefore functions like a C# {} program statement block. The ordering of its child activities within the CompositeActivity.EnabledActivities list is metadata that the Sequence ...

Get Essential Windows Workflow Foundation 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.