IBuildServer.CancelBuilds Method (array<IQueuedBuild )
Cancels the provided queued builds if they are currently in the active or postponed states.
Namespace: Microsoft.TeamFoundation.Build.Client
Assembly: Microsoft.TeamFoundation.Build.Client (in Microsoft.TeamFoundation.Build.Client.dll)
Syntax
'宣言
Sub CancelBuilds ( _
builds As IQueuedBuild() _
)
void CancelBuilds(
IQueuedBuild[] builds
)
void CancelBuilds(
array<IQueuedBuild^>^ builds
)
abstract CancelBuilds :
builds:IQueuedBuild[] -> unit
function CancelBuilds(
builds : IQueuedBuild[]
)
Parameters
- builds
Type: array<Microsoft.TeamFoundation.Build.Client.IQueuedBuild[]
The 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.