UserTrackingLocation.KeyName Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets the name with which the user data must be associated for the UserTrackingLocation to be matched.
public:
property System::String ^ KeyName { System::String ^ get(); void set(System::String ^ value); };
public string KeyName { get; set; }
member this.KeyName : string with get, set
Public Property KeyName As String
Property Value
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).
Remarks
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.