Skip to Content
Microsoft Windows Workflow Foundation 4.0 Cookbook
book

Microsoft Windows Workflow Foundation 4.0 Cookbook

by Andrew Zhu
September 2010
Intermediate to advanced content levelIntermediate to advanced
272 pages
5h 16m
English
Packt Publishing
Content preview from Microsoft Windows Workflow Foundation 4.0 Cookbook

Chapter 2. Built-in Flow Control Activities

In this chapter we will cover:

  • Using the Foreach Activity
  • A number guessing game in Sequence
  • A number guessing game in a flowchart
  • Using the InvokeMethod activity
  • Using the Switch<T> activity in Sequence workflows
  • Using the FlowSwitch<T> activity
  • Using the Parallel activity
  • Using ParallelForEach<T> activity
  • Using the Pick activity
  • Handling errors

Introduction

The Flow is the center of workflow itself, and how to control the Flow is what we will see in this chapter. WF is a lot like an imperative programming language such as C# when it comes to flow control; we have many similar concepts in WF4 such as "if-else", "foreach", "switch", "try-catch", and so on. Additionally, there are some other flow control activities ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Essential Windows Workflow Foundation

Essential Windows Workflow Foundation

Dharma Shukla, Bob Schmidt

Publisher Resources

ISBN: 9781849680783Other