UserTrackingLocation.KeyName Property

 

Get or sets the name with which the user data must be associated for the UserTrackingLocation to be matched.

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

public string KeyName { get; set; }

Property Value

Type: System.String

A string key with which the user data must be associated for the UserTrackingLocation to be matched or a null reference (Nothing in Visual Basic).

An activity designer or a workflow designer can use either Activity.TrackData(String, Object) or ActivityExecutionContext.TrackData(String, Object) to associate a string key with the user data that is emitted in a user event. If KeyName is not a null reference (Nothing), the key associated with the user data must match the value of KeyName for the UserTrackingLocation to be matched. If KeyName is a null reference (Nothing), the runtime tracking infrastructure does not check for a matching key to determine whether the UserTrackingLocation is matched.

.NET Framework
Available since 3.0
Return to top
Show: