UITechnologyManagerProxy.GetSynchronizationWaiter Method
Gets a synchronization waiter for given UITestEventType on this element.
Namespace: Microsoft.VisualStudio.TestTools.UITesting
Assembly: Microsoft.VisualStudio.TestTools.UITesting (in Microsoft.VisualStudio.TestTools.UITesting.dll)
Syntax
'Declaration
Public Overrides Function GetSynchronizationWaiter ( _
element As IUITechnologyElement, _
eventType As UITestEventType _
) As IUISynchronizationWaiter
public override IUISynchronizationWaiter GetSynchronizationWaiter(
IUITechnologyElement element,
UITestEventType eventType
)
public:
virtual IUISynchronizationWaiter^ GetSynchronizationWaiter(
IUITechnologyElement^ element,
UITestEventType eventType
) override
abstract GetSynchronizationWaiter :
element:IUITechnologyElement *
eventType:UITestEventType -> IUISynchronizationWaiter
override GetSynchronizationWaiter :
element:IUITechnologyElement *
eventType:UITestEventType -> IUISynchronizationWaiter
public override function GetSynchronizationWaiter(
element : IUITechnologyElement,
eventType : UITestEventType
) : IUISynchronizationWaiter
Parameters
element
Type: Microsoft.VisualStudio.TestTools.UITest.Extension.IUITechnologyElementThe element to obtain synchronization waiter for.
eventType
Type: Microsoft.VisualStudio.TestTools.UITest.Extension.UITestEventTypeThe 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.
Implements
IUITechnologyManager.GetSynchronizationWaiter(IUITechnologyElement, UITestEventType)
Exceptions
Exception | Condition |
---|---|
NotSupportedException | This is an optional method and if the technology manager does not support this method it should throw System.NotSupportedException exception. |
.NET Framework Security
- 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.