This documentation is archived and is not being maintained.
IQueuedBuild::WaitForBuildCompletion Method (TimeSpan, TimeSpan, ISynchronizeInvoke)
Visual Studio 2013
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)
bool WaitForBuildCompletion(
TimeSpan pollingInterval,
TimeSpan timeout,
ISynchronizeInvoke^ synchronizingObject
)
Parameters
- pollingInterval
- Type: System::TimeSpan
The interval of time between server polling
- timeout
- Type: System::TimeSpan
The overall time-out of the blocking call
- synchronizingObject
- Type: System.ComponentModel::ISynchronizeInvoke
Return Value
Type: System::BooleanTrue if the build finished in the specified time-out, false otherwise
- 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.
Show: