Dela via


IAgentReservationExtension.BeginStartWorkflow Method

Starts a workflow on the selected agent for the reservation.

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

Syntax

'Declaration
Function BeginStartWorkflow ( _
    reservationId As Integer, _
    markup As String, _
    rootInformationNodeId As Integer, _
    callback As AsyncCallback, _
    state As Object _
) As IAsyncResult
IAsyncResult BeginStartWorkflow(
    int reservationId,
    string markup,
    int rootInformationNodeId,
    AsyncCallback callback,
    Object state
)
IAsyncResult^ BeginStartWorkflow(
    int reservationId, 
    String^ markup, 
    int rootInformationNodeId, 
    AsyncCallback^ callback, 
    Object^ state
)
abstract BeginStartWorkflow : 
        reservationId:int * 
        markup:string * 
        rootInformationNodeId:int * 
        callback:AsyncCallback * 
        state:Object -> IAsyncResult
function BeginStartWorkflow(
    reservationId : int, 
    markup : String, 
    rootInformationNodeId : int, 
    callback : AsyncCallback, 
    state : Object
) : IAsyncResult

Parameters

  • reservationId
    Type: System.Int32

    The ID of the agent reservation which should be used to run the workflow

Return Value

Type: System.IAsyncResult

.NET Framework Security

See Also

Reference

IAgentReservationExtension Interface

Microsoft.TeamFoundation.Build.Workflow.Services Namespace