Condividi tramite


Metodo UITechnologyManagerProxy.GetSynchronizationWaiter

Ottiene un cameriere di sincronizzazione per UITestEventType specificato sull'elemento.

Spazio dei nomi:  Microsoft.VisualStudio.TestTools.UITesting
Assembly:  Microsoft.VisualStudio.TestTools.UITesting (in Microsoft.VisualStudio.TestTools.UITesting.dll)

Sintassi

'Dichiarazione
Public Overrides Function GetSynchronizationWaiter ( _
    element As IUITechnologyElement, _
    eventType As UITestEventType _
) As IUISynchronizationWaiter
public override IUISynchronizationWaiter GetSynchronizationWaiter(
    IUITechnologyElement element,
    UITestEventType eventType
)
public:
virtual IUISynchronizationWaiter^ GetSynchronizationWaiter(
    IUITechnologyElement^ element, 
    UITestEventType eventType
) override
abstract GetSynchronizationWaiter : 
        element:IUITechnologyElement * 
        eventType:UITestEventType -> IUISynchronizationWaiter 
override GetSynchronizationWaiter : 
        element:IUITechnologyElement * 
        eventType:UITestEventType -> IUISynchronizationWaiter 
public override function GetSynchronizationWaiter(
    element : IUITechnologyElement, 
    eventType : UITestEventType
) : IUISynchronizationWaiter

Parametri

Valore restituito

Tipo: Microsoft.VisualStudio.TestTools.UITest.Extension.IUISynchronizationWaiter
Il cameriere di sincronizzazione per l'evento o null specificato se l'evento o cameriere non è supportato.

Implementa

IUITechnologyManager.GetSynchronizationWaiter(IUITechnologyElement, UITestEventType)

Eccezioni

Eccezione Condizione
NotSupportedException

Si tratta di un metodo facoltativo e se il gestore tecnologia non supporta questo metodo deve generare l'eccezione di System.NotSupportedException.

Sicurezza di .NET Framework

Vedere anche

Riferimenti

UITechnologyManagerProxy Classe

Spazio dei nomi Microsoft.VisualStudio.TestTools.UITesting