UITechnologyManager.GetSynchronizationWaiter-Methode

Gibt einen IUISynchronizationWaiter mithilfe des angegebenen Elements und Ereignistyps zurück.

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

Parameter

Rückgabewert

Typ: Microsoft.VisualStudio.TestTools.UITest.Extension.IUISynchronizationWaiter
Der angeforderte Waiter.

Implementiert

IUITechnologyManager.GetSynchronizationWaiter(IUITechnologyElement, UITestEventType)

Ausnahmen

Ausnahme Bedingung
NotSupportedException

Soll nur ausgelöst werden, wenn diese Methode von diesem Technologie-Manager nicht unterstützt wird.

.NET Framework-Sicherheit

Siehe auch

Referenz

UITechnologyManager Klasse

Microsoft.VisualStudio.TestTools.UITest.Extension-Namespace

IUITechnologyElement

UITestEventType

IUISynchronizationWaiter