TrackingChannel Class
Collapse the table of content
Expand the table of content

TrackingChannel Class

 
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)

System.Object
  System.Workflow.Runtime.Tracking.TrackingChannel

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

NameDescription
System_CAPS_protmethodTrackingChannel()

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

NameDescription
System_CAPS_pubmethodEquals(Object)

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

System_CAPS_protmethodFinalize()

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

System_CAPS_pubmethodGetHashCode()

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

System_CAPS_pubmethodGetType()

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

System_CAPS_protmethodInstanceCompletedOrTerminated()

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.

System_CAPS_protmethodMemberwiseClone()

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

System_CAPS_protmethodSend(TrackingRecord)

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

System_CAPS_pubmethodToString()

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

System_CAPS_noteNote

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
Show:
© 2016 Microsoft