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)
Syntax
'Declaration
Sub StopWorkflow ( _
reservationId As Integer _
)
void StopWorkflow(
int reservationId
)
void StopWorkflow(
int reservationId
)
abstract StopWorkflow :
reservationId:int -> unit
function StopWorkflow(
reservationId : int
)
Parameters
- reservationId
Type: System.Int32
The ID of the agent reservation.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.