IUISynchronizationWaiter.Wait(Int32, Object) Method

Definition

Causes the UI test framework to wait before raising an event.

public:
 bool Wait(int timeout, System::Object ^ data);
public bool Wait (int timeout, object data);
abstract member Wait : int * obj -> bool
Public Function Wait (timeout As Integer, data As Object) As Boolean

Parameters

timeout
Int32

The number of seconds to wait before raising the event.

data
Object

Information about the event to wait for. Depending on the data, the waiter may return immediately.

Returns

true if the event is successfully raised; false if the data is not appropriate for waiting.

Applies to