Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Body Property

UserTrackingRecord.Body Property

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

Namespace:  System.Workflow.Runtime.Tracking
Assembly:  System.Workflow.Runtime (in System.Workflow.Runtime.dll)

public IList<TrackingDataItem> Body { get; }

Property Value

Type: System.Collections.Generic.IList<TrackingDataItem>
A list of TrackingDataItem objects each of which contains a single piece of extracted data and its associated annotations.

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.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0
© 2015 Microsoft