共用方式為


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

  • batchId
    Type: System.Guid

    The ID of the newly created batch.

Return Value

Type: array<Microsoft.TeamFoundation.Build.Client.IQueuedBuild[]
The updated queued builds.

.NET Framework Security

See Also

Reference

IBuildServer Interface

RetryQueuedBuilds Overload

Microsoft.TeamFoundation.Build.Client Namespace