Condividi tramite


Metodo UITechnologyManager.AddGlobalEventHandler

aggiunge un sink di evento globale a questo gestore tecnologia.

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

Sintassi

'Dichiarazione
Public MustOverride Function AddGlobalEventHandler ( _
    eventType As UITestEventType, _
    eventSink As IUITestEventNotify _
) As Boolean
public abstract bool AddGlobalEventHandler(
    UITestEventType eventType,
    IUITestEventNotify eventSink
)
public:
virtual bool AddGlobalEventHandler(
    UITestEventType eventType, 
    IUITestEventNotify^ eventSink
) abstract
abstract AddGlobalEventHandler : 
        eventType:UITestEventType * 
        eventSink:IUITestEventNotify -> bool 
public abstract function AddGlobalEventHandler(
    eventType : UITestEventType, 
    eventSink : IUITestEventNotify
) : boolean

Parametri

Valore restituito

Tipo: System.Boolean
true se il tipo di evento è supportato e correttamente viene aggiunto; in caso contrario, false.

Sicurezza di .NET Framework

Vedere anche

Riferimenti

UITechnologyManager Classe

Spazio dei nomi Microsoft.VisualStudio.TestTools.UITest.Extension

UITestEventType

IUITestEventNotify