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.Int32The ID of the agent reservation which should be used to run the workflow
markup
Type: System.StringThe workflow markup
- rootInformationNodeId
Type: System.Int32
- 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.