This documentation is archived and is not being maintained.

IBuildServer.RetryQueuedBuilds Method (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)

'Declaration
Function RetryQueuedBuilds ( _
	queuedBuilds As IQueuedBuild(), _
	batchId As Guid, _
	retryOption As QueuedBuildRetryOption _
) As IQueuedBuild()

Parameters

queuedBuilds
Type: Microsoft.TeamFoundation.Build.Client.IQueuedBuild()

The queued builds to be retried in a batch.

batchId
Type: System.Guid

The ID of the newly created batch.

retryOption
Type: Microsoft.TeamFoundation.Build.Client.QueuedBuildRetryOption

Option to retry a completed or an in progress build

Return Value

Type: Microsoft.TeamFoundation.Build.Client.IQueuedBuild()
The updated queued builds.

Show: