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 | |
---|---|---|
AgentReservationSpec | Initializes a new instance of the AgentReservationSpec class. |
Top
Properties
Name | Description | |
---|---|---|
Name | Gets or sets the name of this agent reservation specifier. | |
TagComparison | Gets or sets the TagComparison value to use in comparing tags against this specifier. | |
Tags | Gets or sets the StringList object that contains a list of tags for this specifier. |
Top
Methods
Name | Description | |
---|---|---|
Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
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