This chapter focuses on hosting and executing workflows. Regardless of the type of host application, the WorkflowInvoker and WorkflowApplication classes are used to execute your workflows. The chapter describes how to use each class and then demonstrates features of each class with a number of short examples.

The WorkflowInvoker and WorkflowApplication classes require that you create an instance of the workflow type that you want to execute. Windows Workflow Foundation (WF) also provides the ability to load and execute a workflow directly from a Xaml document. The ActivityXamlServices class provides this functionality and is described and demonstrated ...

Get Pro WF: Windows Workflow in .NET 4 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.