This documentation is archived and is not being maintained.

IQueuedBuild::Retry Method (Guid, QueuedBuildRetryOption)

Marks the build for retry and puts it in the specified batch with the specified retry option.

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

void Retry(
	Guid batchId, 
	QueuedBuildRetryOption retryOption
)

Parameters

batchId
Type: System::Guid

The batch in which this build should be included

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

Option to retry a completed or an in progress build

Show: