Share via


UITestControl.WaitForCondition Method

Definition

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

Returns

Applies to