Partager via


UITechnologyManager.GetSynchronizationWaiter, méthode

Retourne un IUISynchronizationWaiter à l'aide de l'élément et du type d'événement fournis.

Espace de noms :  Microsoft.VisualStudio.TestTools.UITest.Extension
Assembly :  Microsoft.VisualStudio.TestTools.UITest.Extension (dans Microsoft.VisualStudio.TestTools.UITest.Extension.dll)

Syntaxe

'Déclaration
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

Paramètres

Valeur de retour

Type : Microsoft.VisualStudio.TestTools.UITest.Extension.IUISynchronizationWaiter
Waiter demandé.

Implémentations

IUITechnologyManager.GetSynchronizationWaiter(IUITechnologyElement, UITestEventType)

Exceptions

Exception Condition
NotSupportedException

Levée uniquement si cette méthode n'est pas prise en charge par ce gestionnaire de technologies.

Sécurité .NET Framework

Voir aussi

Référence

UITechnologyManager Classe

Microsoft.VisualStudio.TestTools.UITest.Extension, espace de noms

IUITechnologyElement

UITestEventType

IUISynchronizationWaiter