Share via


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.

Inheritance Hierarchy

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)

Syntax

'Declaration
<SerializableAttribute> _
<TypeConverterAttribute(GetType(ExpandableObjectConverter))> _
Public NotInheritable Class AgentReservationSpec
[SerializableAttribute]
[TypeConverterAttribute(typeof(ExpandableObjectConverter))]
public sealed class AgentReservationSpec
[SerializableAttribute]
[TypeConverterAttribute(typeof(ExpandableObjectConverter))]
public ref class AgentReservationSpec sealed
[<Sealed>]
[<SerializableAttribute>]
[<TypeConverterAttribute(typeof(ExpandableObjectConverter))>]
type AgentReservationSpec =  class end
public final class AgentReservationSpec

The AgentReservationSpec type exposes the following members.

Constructors

  Name Description
Public method AgentReservationSpec Initializes a new instance of the AgentReservationSpec class.

Top

Properties

  Name Description
Public property Name Gets or sets the name of this agent reservation specifier.
Public property TagComparison Gets or sets the TagComparison value to use in comparing tags against this specifier.
Public property Tags Gets or sets the StringList object that contains a list of tags for this specifier.

Top

Methods

  Name Description
Public method Equals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method ToString Gets a user-readable string describing the properties of this instance. (Overrides Object.ToString().)

Top

Thread Safety

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

See Also

Reference

Microsoft.TeamFoundation.Build.Workflow.Activities Namespace