UserTrackPoint.Extracts 属性

定义

获取一个集合,该集合指定要从工作流实例中提取并发送到跟踪服务的数据。Gets a collection that specifies data to be extracted from the workflow instance and sent to the tracking service.

public:
 property System::Workflow::Runtime::Tracking::ExtractCollection ^ Extracts { System::Workflow::Runtime::Tracking::ExtractCollection ^ get(); };
public System.Workflow.Runtime.Tracking.ExtractCollection Extracts { get; }
member this.Extracts : System.Workflow.Runtime.Tracking.ExtractCollection
Public ReadOnly Property Extracts As ExtractCollection

属性值

ExtractCollection

一个 ExtractCollection,它指定要提取并发送到跟踪服务的数据。An ExtractCollection that specifies data to be extracted and sent to the tracking service. 默认值为空集合。The default is an empty collection.

注解

当跟踪点匹配时,运行时跟踪基础结构会将 UserTrackingRecord 发送到跟踪服务。When the track point is matched, the runtime tracking infrastructure sends a UserTrackingRecord to the tracking service. 用户数据在 UserTrackingRecord.UserData 中返回。The user data is returned in UserTrackingRecord.UserData. 运行时跟踪基础结构还可以从工作流实例中提取 Extracts 中指定的数据,并在 UserTrackingRecord 中发送此数据。The runtime tracking infrastructure can also extract data specified in Extracts from the workflow instance and send this in the UserTrackingRecord. 提取的数据包装在 TrackingDataItem 记录中,并在 UserTrackingRecord.Body 中返回。The extracted data is encapsulated in TrackingDataItem records and returned in UserTrackingRecord.Body.

您可以将 ActivityDataTrackingExtract 对象添加到 Extracts 以指定应从与用户事件关联的活动中提取的成员数据,也可以将 WorkflowDataTrackingExtract 对象添加到 Extracts 以指定应从工作流的根活动中提取的成员数据。You can add ActivityDataTrackingExtract objects to Extracts to specify member data that should be extracted from the activity associated with the user event and you can add WorkflowDataTrackingExtract objects to Extracts to specify member data that should be extracted from the root activity of the workflow.

适用于