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.

System.Object
  Microsoft.TeamFoundation.Build.Workflow.Activities.AgentReservationSpec

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

[SerializableAttribute]
[TypeConverterAttribute(typeof(ExpandableObjectConverter))]
public sealed class AgentReservationSpec

The AgentReservationSpec type exposes the following members.

  NameDescription
Public methodAgentReservationSpecInitializes a new instance of the AgentReservationSpec class.
Top

  NameDescription
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.
Top

  NameDescription
Public methodEqualsDetermines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public methodGetHashCodeServes as a hash function for a particular type. (Inherited from Object.)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Public methodToStringGets a user-readable string describing the properties of this instance. (Overrides Object.ToString().)
Top

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