IUISynchronizationWaiter.Wait Method
Visual Studio 2010
Causes the UI test framework to wait before raising an event.
Assembly: Microsoft.VisualStudio.TestTools.UITest.Extension (in Microsoft.VisualStudio.TestTools.UITest.Extension.dll)
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.Booleantrue if the event is successfully raised; false if the data is not appropriate for waiting.
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.