IBuildServer.QueueBuild Method (IBuildRequest, QueueOptions)
Queues a build for the specified build request.
Namespace: Microsoft.TeamFoundation.Build.Client
Assembly: Microsoft.TeamFoundation.Build.Client (in Microsoft.TeamFoundation.Build.Client.dll)
Syntax
'Declaração
Function QueueBuild ( _
request As IBuildRequest, _
options As QueueOptions _
) As IQueuedBuild
IQueuedBuild QueueBuild(
IBuildRequest request,
QueueOptions options
)
IQueuedBuild^ QueueBuild(
IBuildRequest^ request,
QueueOptions options
)
abstract QueueBuild :
request:IBuildRequest *
options:QueueOptions -> IQueuedBuild
function QueueBuild(
request : IBuildRequest,
options : QueueOptions
) : IQueuedBuild
Parameters
- request
Type: Microsoft.TeamFoundation.Build.Client.IBuildRequest
The parameters used in queuing the build, including the BuildDefinition and BuildAgent.
- options
Type: Microsoft.TeamFoundation.Build.Client.QueueOptions
The options for the queuing of the build, including whether to preview the queue position.
Return Value
Type: Microsoft.TeamFoundation.Build.Client.IQueuedBuild
The queued build.
.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.