UserTrackingLocation.KeyName 属性

定义

获取或设置要匹配的用户数据必须与之关联的 UserTrackingLocation 名称。

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

属性值

一个string键,用户数据必须与其关联,才能匹配UserTrackingLocation或 null 引用(Visual Basic 中的 Nothing)。

注解

活动设计器或工作流设计器可以使用或Activity.TrackData(String, Object)ActivityExecutionContext.TrackData(String, Object)将字符串键与用户事件中发出的用户数据相关联。 如果KeyName不是 null 引用(Nothing),则与用户数据关联的键必须与要匹配的KeyName键的值UserTrackingLocation匹配。 如果 KeyName 为 null 引用(Nothing),运行时跟踪基础结构不会检查匹配键以确定匹配项是否 UserTrackingLocation 匹配。

适用于