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.
UITechnologyManagerProxy::GetSynchronizationWaiter Method (IUITechnologyElement^, UITestEventType)
Gets a synchronization waiter for given UITestEventType on this element.
Assembly: Microsoft.VisualStudio.TestTools.UITesting (in Microsoft.VisualStudio.TestTools.UITesting.dll)
public: virtual IUISynchronizationWaiter^ GetSynchronizationWaiter( IUITechnologyElement^ element, UITestEventType eventType ) override
Parameters
- element
-
Type:
Microsoft.VisualStudio.TestTools.UITest.Extension::IUITechnologyElement^
The element to obtain synchronization waiter for.
- eventType
-
Type:
Microsoft.VisualStudio.TestTools.UITest.Extension::UITestEventType
The event for which synchronization waiter is required.
Return Value
Type: Microsoft.VisualStudio.TestTools.UITest.Extension::IUISynchronizationWaiter^The synchronization waiter for specified event or null if event/waiter is not supported.
| Exception | Condition |
|---|---|
| NotSupportedException | This is an optional method and if the technology manager does not support this method it should throw System.NotSupportedException exception. |
Show: