UITechnologyManager.GetSynchronizationWaiter Method

Returns an IUISynchronizationWaiter by using the provided element and event type.

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

Syntax

'Declaration
Public MustOverride Function GetSynchronizationWaiter ( _
    element As IUITechnologyElement, _
    eventType As UITestEventType _
) As IUISynchronizationWaiter
public abstract IUISynchronizationWaiter GetSynchronizationWaiter(
    IUITechnologyElement element,
    UITestEventType eventType
)
public:
virtual IUISynchronizationWaiter^ GetSynchronizationWaiter(
    IUITechnologyElement^ element, 
    UITestEventType eventType
) abstract
abstract GetSynchronizationWaiter : 
        element:IUITechnologyElement * 
        eventType:UITestEventType -> IUISynchronizationWaiter 
public abstract function GetSynchronizationWaiter(
    element : IUITechnologyElement, 
    eventType : UITestEventType
) : IUISynchronizationWaiter

Parameters

Return Value

Type: Microsoft.VisualStudio.TestTools.UITest.Extension.IUISynchronizationWaiter
The requested waiter.

Implements

IUITechnologyManager.GetSynchronizationWaiter(IUITechnologyElement, UITestEventType)

Exceptions

Exception Condition
NotSupportedException

Thrown only if this method is not supported by this technology manager.

.NET Framework Security

See Also

Reference

UITechnologyManager Class

Microsoft.VisualStudio.TestTools.UITest.Extension Namespace

IUITechnologyElement

UITestEventType

IUISynchronizationWaiter