Freigeben über


TeamFoundationBuildService.QueueBuilds Method

Queues builds using the requests and specified options. If any requests fail for any reason, the whole method fails and no requests are queued.

Namespace:  Microsoft.TeamFoundation.Build.Server
Assembly:  Microsoft.TeamFoundation.Build.Server (in Microsoft.TeamFoundation.Build.Server.dll)

Syntax

'Declaration
Public Function QueueBuilds ( _
    requestContext As TeamFoundationRequestContext, _
    requests As IList(Of BuildRequest), _
    options As QueueOptions _
) As BuildQueueQueryResult
public BuildQueueQueryResult QueueBuilds(
    TeamFoundationRequestContext requestContext,
    IList<BuildRequest> requests,
    QueueOptions options
)
public:
BuildQueueQueryResult^ QueueBuilds(
    TeamFoundationRequestContext^ requestContext, 
    IList<BuildRequest^>^ requests, 
    QueueOptions options
)
member QueueBuilds : 
        requestContext:TeamFoundationRequestContext * 
        requests:IList<BuildRequest> * 
        options:QueueOptions -> BuildQueueQueryResult
public function QueueBuilds(
    requestContext : TeamFoundationRequestContext, 
    requests : IList<BuildRequest>, 
    options : QueueOptions
) : BuildQueueQueryResult

Parameters

Return Value

Type: Microsoft.TeamFoundation.Build.Server.BuildQueueQueryResult
The list of requests successfully put in the queue.

.NET Framework Security

See Also

Reference

TeamFoundationBuildService Class

Microsoft.TeamFoundation.Build.Server Namespace