In this task, we will create a visual tracking participant. The tracking participant will let the workflow designer display the currently executing activity. When the workflow is executing, the currently executing activity is shown with a yellow outline and debug arrow.
Before we begin this task, we should have completed the previous task: Implementing XAML Workflow Tab and Run events.
Open the workflow designer project we created in the previous task.
Create a new code file named
VisualTracking.cs and fill the file with the following code:
using System; usingSystem.Collections.Generic; usingSystem.Activities.Tracking; ...