Partager via


IUITechnologyManager.GetSynchronizationWaiter Method

This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.

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
Function GetSynchronizationWaiter ( _
    element As IUITechnologyElement, _
    eventType As UITestEventType _
) As IUISynchronizationWaiter
IUISynchronizationWaiter GetSynchronizationWaiter(
    IUITechnologyElement element,
    UITestEventType eventType
)
IUISynchronizationWaiter^ GetSynchronizationWaiter(
    IUITechnologyElement^ element, 
    UITestEventType eventType
)
abstract GetSynchronizationWaiter : 
        element:IUITechnologyElement * 
        eventType:UITestEventType -> IUISynchronizationWaiter
function GetSynchronizationWaiter(
    element : IUITechnologyElement, 
    eventType : UITestEventType
) : IUISynchronizationWaiter

Parameters

Return Value

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

Exceptions

Exception Condition
NotSupportedException

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

.NET Framework Security

See Also

Reference

IUITechnologyManager Interface

Microsoft.VisualStudio.TestTools.UITest.Extension Namespace

IUITechnologyElement

UITestEventType

IUISynchronizationWaiter