TrackingParticipant Class

TrackingParticipant Class

.NET Framework (current version)
 

The base class for workflow extensions that interact with the workflow tracking infrastructure and access tracking records.

Namespace:   System.Activities.Tracking
Assembly:  System.Activities (in System.Activities.dll)

System.Object
  System.Activities.Tracking.TrackingParticipant
    System.Activities.Tracking.EtwTrackingParticipant

public abstract class TrackingParticipant

NameDescription
System_CAPS_protmethodTrackingParticipant()

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

NameDescription
System_CAPS_pubpropertyTrackingProfile

The tracking profile object used by the tracking participant. Before adding the tracking participant to the workflow extensions, the tracking profile is set on the participant.

NameDescription
System_CAPS_protmethodBeginTrack(TrackingRecord, TimeSpan, AsyncCallback, Object)

When implemented in a derived class, begins asynchronous processing of the tracking record.

System_CAPS_protmethodEndTrack(IAsyncResult)

When implemented in a derived class, represents the end of an asynchronous tracking operation.

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_protmethodMemberwiseClone()

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

System_CAPS_pubmethodToString()

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

System_CAPS_protmethodTrack(TrackingRecord, TimeSpan)

When implemented in a derived class, used to synchronously process the tracking record.

A tracking participant is registered to receive tracking records. Currently, any class that implements the tracking participant can be registered with the workflow instance to receive tracking records. If the tracking participant is third party code, ensure that this is not malicious code. The tracking participants run in the same process as the workflow instance and in the case of malicious tracking participants, this code could affect the overall workflow execution. The tracking records are delivered to the registered tracking participants as the workflow executes, so the developer should ensure that the tracking participant does not affect the running workflow by performing unintended operations within the track method. Examples of this could be the alteration of workflow variables or operations that take a long time.

.NET Framework
Available since 4.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