共用方式為


UITechnologyManager.GetSynchronizationWaiter Method

Definition

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

public:
 abstract Microsoft::VisualStudio::TestTools::UITest::Extension::IUISynchronizationWaiter ^ GetSynchronizationWaiter(Microsoft::VisualStudio::TestTools::UITest::Extension::IUITechnologyElement ^ element, Microsoft::VisualStudio::TestTools::UITest::Extension::UITestEventType eventType);
public abstract Microsoft.VisualStudio.TestTools.UITest.Extension.IUISynchronizationWaiter GetSynchronizationWaiter (Microsoft.VisualStudio.TestTools.UITest.Extension.IUITechnologyElement element, Microsoft.VisualStudio.TestTools.UITest.Extension.UITestEventType eventType);
abstract member GetSynchronizationWaiter : Microsoft.VisualStudio.TestTools.UITest.Extension.IUITechnologyElement * Microsoft.VisualStudio.TestTools.UITest.Extension.UITestEventType -> Microsoft.VisualStudio.TestTools.UITest.Extension.IUISynchronizationWaiter
Public MustOverride Function GetSynchronizationWaiter (element As IUITechnologyElement, eventType As UITestEventType) As IUISynchronizationWaiter

Parameters

eventType
UITestEventType

A UITestEventType object for which a waiter is required.

Returns

The requested waiter.

Implements

Exceptions

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

Applies to