UITestControl.WaitForCondition Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
WaitForCondition<T>(T, Predicate<T>) | |
WaitForCondition<T>(T, Predicate<T>, Int32) |
WaitForCondition<T>(T, Predicate<T>)
public:
generic <typename T>
static bool WaitForCondition(T conditionContext, Predicate<T> ^ conditionEvaluator);
public static bool WaitForCondition<T> (T conditionContext, Predicate<T> conditionEvaluator);
static member WaitForCondition : 'T * Predicate<'T> -> bool
Public Shared Function WaitForCondition(Of T) (conditionContext As T, conditionEvaluator As Predicate(Of T)) As Boolean
Type Parameters
- T
Parameters
- conditionContext
- T
- conditionEvaluator
- Predicate<T>
Returns
Applies to
WaitForCondition<T>(T, Predicate<T>, Int32)
public:
generic <typename T>
static bool WaitForCondition(T conditionContext, Predicate<T> ^ conditionEvaluator, int millisecondsTimeout);
public static bool WaitForCondition<T> (T conditionContext, Predicate<T> conditionEvaluator, int millisecondsTimeout);
static member WaitForCondition : 'T * Predicate<'T> * int -> bool
Public Shared Function WaitForCondition(Of T) (conditionContext As T, conditionEvaluator As Predicate(Of T), millisecondsTimeout As Integer) As Boolean
Type Parameters
- T
Parameters
- conditionContext
- T
- conditionEvaluator
- Predicate<T>
- millisecondsTimeout
- Int32