Gets the collection of locations that should be excluded from the track point by the runtime tracking infrastructure.
Assembly: System.Workflow.Runtime (in System.Workflow.Runtime.dll)
Property ValueType: System.Workflow.Runtime.Tracking.ActivityTrackingLocationCollection
An ActivityTrackingLocationCollection that specifies locations to be excluded from the track point. The default is an empty collection.
If any ActivityTrackingLocation in is matched for a particular activity status event, the track point will not be matched and no ActivityTrackingRecord will be sent to the tracking service. If is empty, there are no excluded locations.
You can use to specifically exclude locations from being tracked by the runtime tracking infrastructure. For example, if you want to track all CodeActivity activities except the CodeActivity activity with an Name property of "Code1", you can define an ActivityTrackingLocation that matches all CodeActivity activities and add it to MatchingLocations. Then you can define another ActivityTrackingLocation that matches CodeActivity activities with an Name property set to "Code1" and add it to . The track point will then match all CodeActivity activities except the "Code1" activity.
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003
The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.