Delen via


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)

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

.NET Framework Security

See Also

Reference

IQueuedBuild Interface

Retry Overload

Microsoft.TeamFoundation.Build.Client Namespace