ActivityTrackingLocationCollection Constructor (IEnumerable<ActivityTrackingLocation^>^)
.NET Framework (current version)
Initializes a new instance of the ActivityTrackingLocationCollection class by using a list of activity locations.
Assembly: System.Workflow.Runtime (in System.Workflow.Runtime.dll)
public:
ActivityTrackingLocationCollection(
IEnumerable<ActivityTrackingLocation^>^ locations
)
Parameters
- locations
-
Type:
System.Collections.Generic::IEnumerable<ActivityTrackingLocation^>^
An IEnumerable<T> list of ActivityTrackingLocation objects.
| Exception | Condition |
|---|---|
| ArgumentNullException | locations is a null reference (Nothing in Visual Basic). |
The ActivityTrackingLocationCollection is initialized to contain the ActivityTrackingLocation objects specified in locations.
.NET Framework
Available since 3.0
Available since 3.0
Show: