AgentSettings Class

Represents the settings of a build agent.

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

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

[SerializableAttribute]
public class AgentSettings

The AgentSettings type exposes the following members.

  NameDescription
Public methodAgentSettings()Initializes a new instance of the AgentSettings class.
Public methodAgentSettings(TimeSpan, TimeSpan)Initializes a new instance of the AgentSettings class.
Top

  NameDescription
Public propertyHasTagsGets a flag describing whether this agent has tags set in Tags.
Public propertyIsMaxExecutionTimeSetGets a flag describing whether MaxExecutionTime is set.
Public propertyIsMaxWaitTimeSetGets a flag describing whether MaxWaitTime is set.
Public propertyMaxExecutionTimeGets a TimeSpan object describing the maximum amount of time to allow the build agent to complete its activities.
Public propertyMaxWaitTimeGets a TimeSpan object describing the maximum amount of time to wait for a build agent to become available.
Public propertyNameGets or sets the name of this build agent.
Public propertyTagComparisonGets or sets the TagComparison value that describes how tags should be compared for a match.
Public propertyTagsGets or sets a StringList containing the tags associated with this agent.
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 methodGetAgentReservationSpecCreates an AgentReservationSpec object based on this agent’s Name and Tags properties.
Public methodGetHashCodeServes as the default hash function. (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 methodToStringReturns a string that represents the current object. (Inherited from Object.)
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.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft