Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
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
element
Type: Microsoft.VisualStudio.TestTools.UITest.Extension.IUITechnologyElementAn IUITechnologyElement object.
eventType
Type: Microsoft.VisualStudio.TestTools.UITest.Extension.UITestEventTypeA UITestEventType object for which a waiter is required.
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
- 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.