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.Int32The ID of the agent reservation
- callback
Type: System.AsyncCallback
- state
Type: System.Object
Return Value
Type: System.IAsyncResult
.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.