IBuildServer.StopBuilds Method (array<IBuildDetail )
Stops the specified builds.
Namespace: Microsoft.TeamFoundation.Build.Client
Assembly: Microsoft.TeamFoundation.Build.Client (in Microsoft.TeamFoundation.Build.Client.dll)
Syntax
'Declaration
Sub StopBuilds ( _
builds As IBuildDetail() _
)
void StopBuilds(
IBuildDetail[] builds
)
void StopBuilds(
array<IBuildDetail^>^ builds
)
abstract StopBuilds :
builds:IBuildDetail[] -> unit
function StopBuilds(
builds : IBuildDetail[]
)
Parameters
- builds
Type: array<Microsoft.TeamFoundation.Build.Client.IBuildDetail[]
An array of builds to stop.
Remarks
If a build is not currently in progress then no attempt is made to stop the build and no exception is thrown. Builds which no longer exist on the server cause an exception to be thrown.
.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.