Share via


IAgentReservationExtension Interface

Represents the contract for interacting with build workflow agents.

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

Syntax

'Declaration
Public Interface IAgentReservationExtension
public interface IAgentReservationExtension
public interface class IAgentReservationExtension
type IAgentReservationExtension =  interface end
public interface IAgentReservationExtension

The IAgentReservationExtension type exposes the following members.

Methods

  Name Description
Public method ReleaseAgent Releases the agent associated with the specified reservation ID. Once the agent has been released it will be returned to a pool such that it may be used by another process or workflow.
Public method ReserveAgent Reserves an agent for use with a call to RunWorkflow.
Public method StartWorkflow Starts a workflow on the selected agent for the reservation.
Public method StopWorkflow Stops a workflow running on the reserved agent for the reservation. This call should be preceded by the invocation of StartWorkflow with the same reservation ID.

Top

See Also

Reference

Microsoft.TeamFoundation.Build.Workflow.Services Namespace