次の方法で共有


IQueuedBuild.WaitForBuildCompletion Method (TimeSpan, TimeSpan, ISynchronizeInvoke)

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, _
    synchronizingObject As ISynchronizeInvoke _
) As Boolean
bool WaitForBuildCompletion(
    TimeSpan pollingInterval,
    TimeSpan timeout,
    ISynchronizeInvoke synchronizingObject
)
bool WaitForBuildCompletion(
    TimeSpan pollingInterval, 
    TimeSpan timeout, 
    ISynchronizeInvoke^ synchronizingObject
)
abstract WaitForBuildCompletion : 
        pollingInterval:TimeSpan * 
        timeout:TimeSpan * 
        synchronizingObject:ISynchronizeInvoke -> bool
function WaitForBuildCompletion(
    pollingInterval : TimeSpan, 
    timeout : TimeSpan, 
    synchronizingObject : ISynchronizeInvoke
) : boolean

Parameters

  • pollingInterval
    Type: System.TimeSpan

    The interval of time between server polling

Return Value

Type: System.Boolean
True if the build finished in the specified time-out, false otherwise

.NET Framework Security

See Also

Reference

IQueuedBuild Interface

WaitForBuildCompletion Overload

Microsoft.TeamFoundation.Build.Client Namespace