TrackingProfile.ImplementationVisibility Property

.NET Framework (current version)
 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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
Available since 4.0
Return to top
Show: