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)
Syntax
'Declaration
Sub Retry ( _
    batchId As Guid, _
    retryOption As QueuedBuildRetryOption _
)
void Retry(
    Guid batchId,
    QueuedBuildRetryOption retryOption
)
void Retry(
    Guid batchId, 
    QueuedBuildRetryOption retryOption
)
abstract Retry : 
        batchId:Guid * 
        retryOption:QueuedBuildRetryOption -> unit
function Retry(
    batchId : Guid, 
    retryOption : QueuedBuildRetryOption
)
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 
.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.