IUISynchronizationWaiter.Wait(Int32, Object) 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.
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.