IAgentReservationExtension.StopWorkflow Method

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.

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


Sub StopWorkflow ( _
    reservationId As Integer _
void StopWorkflow(
    int reservationId
void StopWorkflow(
    int reservationId
abstract StopWorkflow : 
        reservationId:int -> unit 
function StopWorkflow(
    reservationId : int


  • reservationId
    Type: System.Int32
    The ID of the agent reservation.

.NET Framework Security

See Also


IAgentReservationExtension Interface

Microsoft.TeamFoundation.Build.Workflow.Services Namespace