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
requestContext
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContextThe request context.
requests
Type: System.Collections.Generic.IList<BuildRequest>The requests.
options
Type: Microsoft.TeamFoundation.Build.Server.QueueOptionsSpecifies whether to run this method in preview mode.
Return Value
Type: Microsoft.TeamFoundation.Build.Server.BuildQueueQueryResult
The list of requests successfully put in the queue.
.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.