Editare

Partajați prin


UserTrackingRecord.Body Property

Definition

Gets a list containing any additional data extracted from the workflow for the UserTrackPoint that was matched.

public:
 property System::Collections::Generic::IList<System::Workflow::Runtime::Tracking::TrackingDataItem ^> ^ Body { System::Collections::Generic::IList<System::Workflow::Runtime::Tracking::TrackingDataItem ^> ^ get(); };
public System.Collections.Generic.IList<System.Workflow.Runtime.Tracking.TrackingDataItem> Body { get; }
member this.Body : System.Collections.Generic.IList<System.Workflow.Runtime.Tracking.TrackingDataItem>
Public ReadOnly Property Body As IList(Of TrackingDataItem)

Property Value

A list of TrackingDataItem objects each of which contains a single piece of extracted data and its associated annotations.

Remarks

When a UserTrackPoint is matched, the runtime tracking infrastructure can extract data from the workflow instance. The data to be extracted is specified by UserTrackPoint.Extracts. UserTrackPoint.Extracts can contain ActivityDataTrackingExtract objects, which specify member data to be extracted from the activity associated with the user event, and WorkflowDataTrackingExtract objects, which specify member data to be extracted from the root activity of the workflow. Each type of extract can also specify annotations to be returned with the extracted data. The runtime tracking infrastructure encapsulates each piece of extracted data and its associated annotations in a TrackingDataItem which it adds to Body.

Because the user data pushed to the tracking service by the user event is contained in UserData, Body will frequently be an empty list. This property is set by the runtime tracking infrastructure.

Applies to