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
element
Tipo: Microsoft.VisualStudio.TestTools.UITest.Extension.IUITechnologyElementL'elemento per ottenere il cameriere di sincronizzazione.
eventType
Tipo: Microsoft.VisualStudio.TestTools.UITest.Extension.UITestEventTypeIl cameriere di sincronizzazione di evento per il quale è obbligatorio.
Valore restituito
Tipo: Microsoft.VisualStudio.TestTools.UITest.Extension.IUISynchronizationWaiter
Il cameriere di sincronizzazione per l'evento o il valore specificato se l'evento/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 System.NotSupportedException. |
Sicurezza di .NET Framework
- Attendibilità totale per il chiamante immediato. Impossibile utilizzare questo membro in codice parzialmente attendibile. Per altre informazioni, vedere Utilizzo di librerie da codice parzialmente attendibile.