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

Creating FileTrackingParticipant

We may want to create our own tracking participant and store tracking information in a text file. In this task, we are going to create such a tracking participant.

How to do it...

  1. Create a workflow project:

    Create a new Workflow Console Application under the solution Chapter06 and name the project CreatingFileTrackingParticipant.

  2. Author a workflow:

    Open the Workflow1.xaml file, which is created by default, and create an extremely simple workflow just for tracking.

    How to do it...
  3. Create a custom tracking participant—FileTrackingParticipant.cs:

    Now, create a class file and name it FileTrackingParticipant.cs containing the following ...

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