IAgentReservationExtension.StartWorkflow 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
Sub StartWorkflow ( _
reservationId As Integer, _
markup As String, _
agentInformationNodeId As Integer _
)
void StartWorkflow(
int reservationId,
string markup,
int agentInformationNodeId
)
void StartWorkflow(
int reservationId,
String^ markup,
int agentInformationNodeId
)
abstract StartWorkflow :
reservationId:int *
markup:string *
agentInformationNodeId:int -> unit
function StartWorkflow(
reservationId : int,
markup : String,
agentInformationNodeId : int
)
Parameters
- reservationId
Type: System.Int32
The ID of the agent reservation which should be used to run the workflow.
- markup
Type: System.String
The workflow XML markup.
- agentInformationNodeId
Type: System.Int32
The ID of the agent information node.
.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.