Düzenle

Aracılığıyla paylaş


ActivityTrackingLocation.Conditions Property

Definition

Gets a collection of conditions that are used to qualify interest in the activity.

public:
 property System::Workflow::Runtime::Tracking::TrackingConditionCollection ^ Conditions { System::Workflow::Runtime::Tracking::TrackingConditionCollection ^ get(); };
public System.Workflow.Runtime.Tracking.TrackingConditionCollection Conditions { get; }
member this.Conditions : System.Workflow.Runtime.Tracking.TrackingConditionCollection
Public ReadOnly Property Conditions As TrackingConditionCollection

Property Value

A TrackingConditionCollection that contains conditions that are used to qualify interest in the activity. The default is an empty collection.

Remarks

You can use Conditions to more precisely define the instance of the reference activity type to be matched. For example, if you want to match only CodeActivity activities with an Activity.Name equal to "MyCode", you can set ActivityTypeName to"CodeActivity" and add an ActivityTrackingCondition to Conditions that specifies that the Activity.Name property of the activity instance must be equal to "MyCode".

Every TrackingCondition in Conditions must be true and one of the ActivityExecutionStatus values in ExecutionStatusEvents must be matched for the ActivityTrackingLocation to be matched.

Applies to