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
- 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.