Freigeben über


IAgentReservationExtension.BeginStopWorkflow Method

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.

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

Syntax

'Declaration
Function BeginStopWorkflow ( _
    reservationId As Integer, _
    callback As AsyncCallback, _
    state As Object _
) As IAsyncResult
IAsyncResult BeginStopWorkflow(
    int reservationId,
    AsyncCallback callback,
    Object state
)
IAsyncResult^ BeginStopWorkflow(
    int reservationId, 
    AsyncCallback^ callback, 
    Object^ state
)
abstract BeginStopWorkflow : 
        reservationId:int * 
        callback:AsyncCallback * 
        state:Object -> IAsyncResult
function BeginStopWorkflow(
    reservationId : int, 
    callback : AsyncCallback, 
    state : Object
) : IAsyncResult

Parameters

  • reservationId
    Type: System.Int32

    The ID of the agent reservation

Return Value

Type: System.IAsyncResult

.NET Framework Security

See Also

Reference

IAgentReservationExtension Interface

Microsoft.TeamFoundation.Build.Workflow.Services Namespace