O'Reilly logo

Beginning WF: Windows Workflow in .NET 4.0 by Mark Collins

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 4. Passing Arguments

In Chapter 1, I showed you how to define variables and arguments that will be used by the workflow. Using a coding analogy, variables are like class members, and arguments are similar to method parameters. You used variables in the last three chapters. In this chapter, you'll define both input and output arguments and pass them between the workflow and the host application.

Creating a New Solution

Start by creating a new Workflow Console Application, as shown in Figure 4-1. Name the project OrderProcess, and the solution Chapter04. You will be using the same project name in Chapters 5-7.

Creating a new sequential workflow project

Figure 4-1. Creating a new sequential ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required