Export (0) Print
Expand All

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.5.2, 4.5.1, 4.5, 4, 3.5, 3.0

Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

© 2014 Microsoft