Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
ImplementationVisibility Property
Collapse the table of content
Expand the table of content

TrackingProfile.ImplementationVisibility Property

.NET Framework 4.6 and 4.5

Gets or sets a value that filters tracking records emitted from nested activities within a top level activity (activities that compose the implementation of another activity.)

Namespace:  System.Activities.Tracking
Assembly:  System.Activities (in System.Activities.dll)

public ImplementationVisibility ImplementationVisibility { get; set; }

Property Value

Type: System.Activities.Tracking.ImplementationVisibility
An ImplementationVisibility object that indicates the scope of records to be filtered.
The default value is RootScope.

Tracking records can be filtered using two visibility modes within a tracking profile. The visibility mode specifies the activities being tracked within the workflow. The visibility modes specified by the implementationVisibility setting in the tracking profile are:

This setting applies to the filtering of tracking records for composite activities (activities that contain other activities within its implementation.)

If implementationVisibility is RootScope and the composite activity is not the root activity for the workflow, only the top level activity within the composite activity is tracked. When set to RootScope, this flag suppresses the tracking records for activities that are not visible from the root of the workflow. Only the root activity and its implementation are tracked. If the implementation contains activities that are composite activities, then the composite activity is tracked but not its implementation.

For example, if a composite activity is created that is implemented as “MyActivity” with an implementation containing “Activity1” and “Activity2”, and implementationVisibility is set to RootScope, when this activity is added to a workflow tracking records are emitted only for “MyActivity” and not “Activity1” or “Activity2”. If implementationVisibility is set to All, then tracking records for “MyActivity”, “Activity1”, and “Activity2” are emitted.

.NET Framework

Supported in: 4.6, 4.5, 4

.NET Framework Client Profile

Supported in: 4
Show:
© 2015 Microsoft