Information
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.

IUISynchronizationWaiter::Wait Method (Int32, Object^)

 

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

Namespace:   Microsoft.VisualStudio.TestTools.UITest.Extension
Assembly:  Microsoft.VisualStudio.TestTools.UITest.Extension (in Microsoft.VisualStudio.TestTools.UITest.Extension.dll)

bool Wait(
	int timeout,
	Object^ data
)

Parameters

timeout
Type: System::Int32

The number of seconds to wait before raising the event.

data
Type: System::Object^

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

Return Value

Type: System::Boolean

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

Return to top
Show: