This documentation is archived and is not being maintained.

AgentReservationSpec Class

This class is used to help specify the type of agent that may process an activity by using a list of tags to identify valid agents.


Namespace:  Microsoft.TeamFoundation.Build.Workflow.Activities
Assembly:  Microsoft.TeamFoundation.Build.Workflow (in Microsoft.TeamFoundation.Build.Workflow.dll)

public sealed class AgentReservationSpec

The AgentReservationSpec type exposes the following members.

Public methodAgentReservationSpecInitializes a new instance of the AgentReservationSpec class.

Public propertyNameGets or sets the name of this agent reservation specifier.
Public propertyTagComparisonGets or sets the TagComparison value to use in comparing tags against this specifier.
Public propertyTagsGets or sets the StringList object that contains a list of tags for this specifier.

Public methodEqualsDetermines whether the specified object is equal to the current object. (Inherited from Object.)
Public methodGetHashCodeServes as the default hash function. (Inherited from Object.)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Public methodToStringGets a user-readable string describing the properties of this instance. (Overrides Object.ToString().)

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.