Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

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

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