O'Reilly logo

Microsoft Windows Workflow Foundation 4.0 Cookbook by Andrew Zhu

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

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 ...

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