Export (0) Print
Expand All

UserTrackingLocation.Conditions Property

Gets a collection of conditions that are used to qualify the activity from which the user data must be emitted to be tracked.

Namespace:  System.Workflow.Runtime.Tracking
Assembly:  System.Workflow.Runtime (in System.Workflow.Runtime.dll)

public TrackingConditionCollection Conditions { get; }

Property Value

Type: System.Workflow.Runtime.Tracking.TrackingConditionCollection
A TrackingConditionCollection that is used to qualify the activity from which the user data must be emitted.

You can use Conditions to more precisely define the instance of the activity type specified by ActivityTypeName or ActivityType from which the user event must be emitted to match the tracking location. For example, if you want to match only CodeActivity activities with an Name equal to "MyCode", you can set ActivityTypeName to "Code" and add an ActivityTrackingCondition to Conditions that specifies that the ID property of the activity instance must be equal to "MyCode".

Every TrackingCondition in Conditions must be true for the activity to be matched.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0
Show:
© 2015 Microsoft