ActivityTrackingLocationCollection Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of the ActivityTrackingLocationCollection class.
Overloads
ActivityTrackingLocationCollection() |
Initializes a new instance of the ActivityTrackingLocationCollection class. |
ActivityTrackingLocationCollection(IEnumerable<ActivityTrackingLocation>) |
Initializes a new instance of the ActivityTrackingLocationCollection class by using a list of activity locations. |
ActivityTrackingLocationCollection()
Initializes a new instance of the ActivityTrackingLocationCollection class.
public:
ActivityTrackingLocationCollection();
public ActivityTrackingLocationCollection ();
Public Sub New ()
Remarks
The parameterless constructor initializes the ActivityTrackingLocationCollection to an empty list.
Applies to
ActivityTrackingLocationCollection(IEnumerable<ActivityTrackingLocation>)
Initializes a new instance of the ActivityTrackingLocationCollection class by using a list of activity locations.
public:
ActivityTrackingLocationCollection(System::Collections::Generic::IEnumerable<System::Workflow::Runtime::Tracking::ActivityTrackingLocation ^> ^ locations);
public ActivityTrackingLocationCollection (System.Collections.Generic.IEnumerable<System.Workflow.Runtime.Tracking.ActivityTrackingLocation> locations);
new System.Workflow.Runtime.Tracking.ActivityTrackingLocationCollection : seq<System.Workflow.Runtime.Tracking.ActivityTrackingLocation> -> System.Workflow.Runtime.Tracking.ActivityTrackingLocationCollection
Public Sub New (locations As IEnumerable(Of ActivityTrackingLocation))
Parameters
- locations
- IEnumerable<ActivityTrackingLocation>
An IEnumerable<T> list of ActivityTrackingLocation objects.
Exceptions
locations
is a null reference (Nothing
in Visual Basic).
Remarks
The ActivityTrackingLocationCollection is initialized to contain the ActivityTrackingLocation objects specified in locations
.