Delen via


IBuildServer.CancelBuilds Method (array<Int32 )

Cancels queued builds with the provided IDs if they are currently in active or postponed states.

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

Syntax

'Declaration
Sub CancelBuilds ( _
    ids As Integer() _
)
void CancelBuilds(
    int[] ids
)
void CancelBuilds(
    array<int>^ ids
)
abstract CancelBuilds : 
        ids:int[] -> unit
function CancelBuilds(
    ids : int[]
)

Parameters

  • ids
    Type: array<System.Int32[]

    The IDs of queued builds to cancel.

.NET Framework Security

See Also

Reference

IBuildServer Interface

CancelBuilds Overload

Microsoft.TeamFoundation.Build.Client Namespace