Tracking Samples

The samples in this section demonstrate the different ways to use tracking and create custom tracking solutions.

In This Section

Simple Tracking Sample

Illustrates the use of the SQL tracking service to track workflow events.

Query Using SQLTrackingService Sample

Illustrates the use of the SQL tracking service to track workflow events using a custom tracking profile.

Tracking Using User Track Points Sample

Demonstrates the use of the SQL tracking service to track workflow events using user track points.

EventArgs Tracking Sample

Illustrates the use of the SQL tracking service to track workflow TerminatedEventArgs, SuspendedEventArgs, and ExceptionEventArgs.

ConsoleTrackingService Sample

Shows how to create a tracking service and write the contents of tracked data to the console.

RuleActionTrackingEvent Sample

Illustrates how you can use tracking to determine rule actions in your workflow.

File Tracking Service and Query Sample

Demonstrates how you can create a simple file-based tracking service that reads and writes TrackingProfile data to an XML file.

Using the Tracking Profile Object Model Sample

Demonstrates how to create, serialize, and deserialize TrackingProfile data by using the Tracking Profile Object Model.

SQL Data Maintenance Sample

Shows how to horizontally partition tracking data in a database for ease in archiving.

See Also

Other Resources

Technology Samples
Windows Workflow Tracking Services
Tracking Overview

© 2007 Microsoft Corporation. All rights reserved.