Share via


IQueuedBuild.WaitForBuildStart Method (Int32, Int32)

Blocks the build from starting by using the specified polling interval and time-out.

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

Syntax

'Declaration
Function WaitForBuildStart ( _
    pollingInterval As Integer, _
    timeout As Integer _
) As Boolean
bool WaitForBuildStart(
    int pollingInterval,
    int timeout
)
bool WaitForBuildStart(
    int pollingInterval, 
    int timeout
)
abstract WaitForBuildStart : 
        pollingInterval:int * 
        timeout:int -> bool 
function WaitForBuildStart(
    pollingInterval : int, 
    timeout : int
) : boolean

Parameters

  • pollingInterval
    Type: System.Int32
    The polling interval, in milliseconds.
  • timeout
    Type: System.Int32
    The time-out interval, in milliseconds.

Return Value

Type: System.Boolean
True if the build was started within the timeout interval. False otherwise.

.NET Framework Security

See Also

Reference

IQueuedBuild Interface

WaitForBuildStart Overload

Microsoft.TeamFoundation.Build.Client Namespace