Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Blocks the calling thread until the build finishes or the time-out expires.
Namespace: Microsoft.TeamFoundation.Build.Client
Assembly: Microsoft.TeamFoundation.Build.Client (in Microsoft.TeamFoundation.Build.Client.dll)
Syntax
'Declaration
Function WaitForBuildCompletion ( _
pollingInterval As TimeSpan, _
timeout As TimeSpan _
) As Boolean
bool WaitForBuildCompletion(
TimeSpan pollingInterval,
TimeSpan timeout
)
bool WaitForBuildCompletion(
TimeSpan pollingInterval,
TimeSpan timeout
)
abstract WaitForBuildCompletion :
pollingInterval:TimeSpan *
timeout:TimeSpan -> bool
function WaitForBuildCompletion(
pollingInterval : TimeSpan,
timeout : TimeSpan
) : boolean
Parameters
pollingInterval
Type: System.TimeSpanThe interval of time between server polling
timeout
Type: System.TimeSpanThe overall time-out of the blocking call
Return Value
Type: System.Boolean
True if the build finished in the specified time-out, false otherwise
.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.