Redigera

Dela via


TrackingProfile.ImplementationVisibility Property

Definition

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.)

public:
 property System::Activities::Tracking::ImplementationVisibility ImplementationVisibility { System::Activities::Tracking::ImplementationVisibility get(); void set(System::Activities::Tracking::ImplementationVisibility value); };
public System.Activities.Tracking.ImplementationVisibility ImplementationVisibility { get; set; }
member this.ImplementationVisibility : System.Activities.Tracking.ImplementationVisibility with get, set
Public Property ImplementationVisibility As ImplementationVisibility

Property Value

An ImplementationVisibility object that indicates the scope of records to be filtered.

The default value is RootScope.

Remarks

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.

Applies to