편집

다음을 통해 공유


UserTrackingLocation.Conditions Property

Definition

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

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 is used to qualify the activity from which the user data must be emitted.

Remarks

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.

Applies to