The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.
UITestControl::WaitForCondition Method
Blocks the current thread until the specified condition is met, or until the time-out expires.
Assembly: Microsoft.VisualStudio.TestTools.UITesting (in Microsoft.VisualStudio.TestTools.UITesting.dll)
| Name | Description | |
|---|---|---|
![]() ![]() | WaitForCondition<T>(T, Predicate<T>^) | Blocks the current thread until the specified condition is met, or until the default time-out expires. |
![]() ![]() | WaitForCondition<T>(T, Predicate<T>^, Int32) | Blocks the current thread until the specified condition is met, or until the specified time-out expires. |
Show:

