IBuildServer.RetryQueuedBuilds Method (array<IQueuedBuild , Guid, QueuedBuildRetryOption)
Retries the specified builds with the specific retry option and puts all specified builds into a batch together.
Namespace: Microsoft.TeamFoundation.Build.Client
Assembly: Microsoft.TeamFoundation.Build.Client (in Microsoft.TeamFoundation.Build.Client.dll)
Syntax
'Declaration
Function RetryQueuedBuilds ( _
queuedBuilds As IQueuedBuild(), _
batchId As Guid, _
retryOption As QueuedBuildRetryOption _
) As IQueuedBuild()
IQueuedBuild[] RetryQueuedBuilds(
IQueuedBuild[] queuedBuilds,
Guid batchId,
QueuedBuildRetryOption retryOption
)
array<IQueuedBuild^>^ RetryQueuedBuilds(
array<IQueuedBuild^>^ queuedBuilds,
Guid batchId,
QueuedBuildRetryOption retryOption
)
abstract RetryQueuedBuilds :
queuedBuilds:IQueuedBuild[] *
batchId:Guid *
retryOption:QueuedBuildRetryOption -> IQueuedBuild[]
function RetryQueuedBuilds(
queuedBuilds : IQueuedBuild[],
batchId : Guid,
retryOption : QueuedBuildRetryOption
) : IQueuedBuild[]
Parameters
queuedBuilds
Type: array<Microsoft.TeamFoundation.Build.Client.IQueuedBuild[]The queued builds to be retried in a batch.
batchId
Type: System.GuidThe ID of the newly created batch.
retryOption
Type: Microsoft.TeamFoundation.Build.Client.QueuedBuildRetryOptionOption to retry a completed or an in progress build
Return Value
Type: array<Microsoft.TeamFoundation.Build.Client.IQueuedBuild[]
The updated queued builds.
.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.