UITechnologyManager.GetSynchronizationWaiter 方法

使用所提供的元素和事件类型返回 IUISynchronizationWaiter

命名空间:  Microsoft.VisualStudio.TestTools.UITest.Extension
程序集:  Microsoft.VisualStudio.TestTools.UITest.Extension(在 Microsoft.VisualStudio.TestTools.UITest.Extension.dll 中)

语法

声明
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

参数

返回值

类型:Microsoft.VisualStudio.TestTools.UITest.Extension.IUISynchronizationWaiter
所请求的等待者。

实现

IUITechnologyManager.GetSynchronizationWaiter(IUITechnologyElement, UITestEventType)

异常

异常 条件
NotSupportedException

仅当此技术管理器不支持此方法时才引发。

.NET Framework 安全性

请参阅

参考

UITechnologyManager 类

Microsoft.VisualStudio.TestTools.UITest.Extension 命名空间

IUITechnologyElement

UITestEventType

IUISynchronizationWaiter