Share via


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

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

See Also

Reference

UITechnologyManagerProxy Class

Microsoft.VisualStudio.TestTools.UITesting Namespace