This documentation is archived and is not being maintained.
IAgentReservationExtension Interface
Visual Studio 2013
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)
The IAgentReservationExtension type exposes the following members.
| Name | Description | |
|---|---|---|
![]() | BeginReleaseAgent | Releases the agent associated with the specified request ID. Once the agent has been released it will be returned to a pool so that it may be used by another process or workflow. |
![]() | BeginReserveAgent | Reserves an agent for use with a call to RunWorkflow. A call to ReserveAgent will result in an AgentReservationCompletedEventArgs event being added into the response queue. After the agent has been used it should be returned to the system by a call to ReleaseAgent. |
![]() | BeginStartWorkflow | Starts a workflow on the selected agent for the reservation. |
![]() | BeginStopWorkflow | Stops a workflow running on the reserved agent for the reservation. This call should be preceeded by the invocation of StartWorkflow with the same reservation ID. |
![]() | EndReleaseAgent | |
![]() | EndReserveAgent | |
![]() | EndStartWorkflow | |
![]() | EndStopWorkflow |
Show:
