TrackingChannel Class


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

Note: This API is now obsolete.

The abstract base class that represents a tracking channel.

Namespace:   System.Workflow.Runtime.Tracking
Assembly:  System.Workflow.Runtime (in System.Workflow.Runtime.dll)


[ObsoleteAttribute("The System.Workflow.* types are deprecated.  Instead, please use the new types from System.Activities.*")]
public abstract class TrackingChannel


When implemented in a derived class, initializes a new instance of the TrackingChannel class.


Determines whether the specified object is equal to the current object.(Inherited from Object.)


Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.)


Serves as the default hash function. (Inherited from Object.)


Gets the Type of the current instance.(Inherited from Object.)


When implemented in a derived class, notifies a receiver of data on the tracking channel that the workflow instance associated with the tracking channel has either completed or terminated.


Creates a shallow copy of the current Object.(Inherited from Object.)


When implemented in a derived class, sends a TrackingRecord on the TrackingChannel.


Returns a string that represents the current object.(Inherited from Object.)


This material discusses types and namespaces that are obsolete. For more information, see Deprecated Types in Windows Workflow Foundation 4.5.

If a TrackingService is present, the runtime tracking infrastructure calls GetTrackingChannel to get a tracking channel for a workflow instance. The runtime tracking infrastructure uses this tracking channel to send tracking records associated with the workflow instance back to the host application whenever the tracking infrastructure matches a track point in the TrackingProfile associated with the workflow instance. Your application can treat this tracking information in any way you choose. For example, the SqlTrackingService writes tracking information to a SQL database.

To create a tracking channel for your tracking service, derive a class from the TrackingChannel base class. You can use the TrackingParameters object passed by the runtime tracking infrastructure in its call to your implementation of GetTrackingChannel to associate each instance of your tracking channel with a specific workflow instance. The workflow runtime engine requests a tracking channel from each tracking service that has provided a TrackingProfile for a workflow instance.

.NET Framework
Available since 3.0

Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top