Редагувати

Поділитися через


WorkflowTrackingLocation Class

Definition

Caution

The System.Workflow.* types are deprecated. Instead, please use the new types from System.Activities.*

Defines an interest in specific workflow status events that occur in a root workflow instance; used for matching by a WorkflowTrackPoint in a tracking profile. This class cannot be inherited.

public ref class WorkflowTrackingLocation sealed
[System.Serializable]
public sealed class WorkflowTrackingLocation
[System.Serializable]
[System.Obsolete("The System.Workflow.* types are deprecated.  Instead, please use the new types from System.Activities.*")]
public sealed class WorkflowTrackingLocation
[<System.Serializable>]
type WorkflowTrackingLocation = class
[<System.Serializable>]
[<System.Obsolete("The System.Workflow.* types are deprecated.  Instead, please use the new types from System.Activities.*")>]
type WorkflowTrackingLocation = class
Public NotInheritable Class WorkflowTrackingLocation
Inheritance
WorkflowTrackingLocation
Attributes

Remarks

Note

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

Whenever the status of the workflow instance changes, the workflow instance emits a workflow status event based on one of the TrackingWorkflowEvent values to the runtime tracking infrastructure. A WorkflowTrackingLocation expresses an interest in locations of the workflow instance where specific types of workflow status events occur. Add TrackingWorkflowEvent values to Events to specify the workflow status events to be matched. A single WorkflowTrackingLocation may refer to more than one actual location in the potential execution path of a workflow instance. You can add a WorkflowTrackingLocation to WorkflowTrackPoint.MatchingLocation in order to define the match parameters for a WorkflowTrackPoint.

Constructors

WorkflowTrackingLocation()

Initializes a new instance of the WorkflowTrackingLocation class.

WorkflowTrackingLocation(IList<TrackingWorkflowEvent>)

Initializes a new instance of the WorkflowTrackingLocation class that matches the specified tracking workflow events.

Properties

Events

Gets the list of workflow status events that will be matched for this location.

Methods

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)

Applies to