TrackingChannel Class
The abstract base class that represents a tracking channel.
Assembly: System.Workflow.Runtime (in System.Workflow.Runtime.dll)
The TrackingChannel type exposes the following members.
| Name | Description | |
|---|---|---|
![]() | TrackingChannel | When implemented in a derived class, initializes a new instance of the TrackingChannel class. |
| Name | Description | |
|---|---|---|
![]() | Equals(Object) | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) |
![]() | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
![]() | GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | InstanceCompletedOrTerminated | 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. |
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | Send | When implemented in a derived class, sends a TrackingRecord on the TrackingChannel. |
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |
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.
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
