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.5.3, 4, 3.5, 3.0

Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

Show:
© 2014 Microsoft