Redigera

Dela via


TrackingParticipant Class

Definition

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

public ref class TrackingParticipant abstract
public abstract class TrackingParticipant
type TrackingParticipant = class
Public MustInherit Class TrackingParticipant
Inheritance
TrackingParticipant
Derived

Remarks

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.

Constructors

TrackingParticipant()

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

Properties

TrackingProfile

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.

Methods

BeginTrack(TrackingRecord, TimeSpan, AsyncCallback, Object)

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

EndTrack(IAsyncResult)

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

Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString()

Returns a string that represents the current object.

(Inherited from Object)
Track(TrackingRecord, TimeSpan)

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

Applies to