Edit

Share via


TaskAgent Class

Definition

[System.Runtime.Serialization.DataContract]
public class TaskAgent : Microsoft.TeamFoundation.DistributedTask.WebApi.TaskAgentReference, ICloneable
type TaskAgent = class
    inherit TaskAgentReference
    interface ICloneable
Public Class TaskAgent
Inherits TaskAgentReference
Implements ICloneable
Inheritance
Attributes
Implements

Constructors

TaskAgent(String)

Properties

AccessPoint

Gets the access point of the agent.

(Inherited from TaskAgentReference)
AssignedAgentCloudRequest

Gets the Agent Cloud Request that's currently associated with this agent

AssignedRequest

Gets the request which is currently assigned to this agent.

Authorization

Gets or sets the authorization information for this agent.

CreatedOn

Gets the date on which this agent was created.

Enabled

Gets or sets a value indicating whether or not this agent should be enabled for job execution.

(Inherited from TaskAgentReference)
Id

Gets the identifier of the agent.

(Inherited from TaskAgentReference)
LastCompletedRequest

Gets the last request which was completed by this agent.

Links

Gets the reference links collection for this agent.

(Inherited from TaskAgentReference)
MaxParallelism

Gets or sets the maximum job parallelism allowed on this host.

Name

Gets the name of the agent.

(Inherited from TaskAgentReference)
OSDescription

Gets the OS of the agent.

(Inherited from TaskAgentReference)
PendingUpdate

Gets the pending update for this agent.

Properties

Gets or sets a collection of properties which may be used to extend the storage fields available for a given machine instance.

ProvisioningState

Gets or sets the current provisioning state of this agent

(Inherited from TaskAgentReference)
Status

Gets the current connectivity status of the agent.

(Inherited from TaskAgentReference)
StatusChangedOn

Gets the date on which the last connectivity status change occurred.

SystemCapabilities

Gets the set of capabilities supported by this host.

UserCapabilities

Gets the set of capabilities supported by this host.

Version

Gets the version of the agent.

(Inherited from TaskAgentReference)

Methods

Clone()

Explicit Interface Implementations

ICloneable.Clone()

Applies to