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
- element
Type: Microsoft.VisualStudio.TestTools.UITest.Extension.IUITechnologyElement
An IUITechnologyElement object.
- eventType
Type: Microsoft.VisualStudio.TestTools.UITest.Extension.UITestEventType
A UITestEventType object for which a waiter is required.
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
- 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.
See Also
Reference
IUITechnologyManager Interface