This documentation is archived and is not being maintained.
IBuildServer.QueueBuild Method (IBuildRequest, QueueOptions)
Queues a build for the given build request.
Assembly: Microsoft.TeamFoundation.Build.Client (in Microsoft.TeamFoundation.Build.Client.dll)
- Type: Microsoft.TeamFoundation.Build.Client.IBuildRequest
The parameters that are used in queuing the build. These include the BuildDefinition and BuildAgent.
- Type: Microsoft.TeamFoundation.Build.Client.QueueOptions
The options for queuing the build. These include whether to preview the queue position.
Return ValueType: Microsoft.TeamFoundation.Build.Client.IQueuedBuild
Returns the queued build.
- 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.