Condividi tramite


Metodo UITechnologyManagerProxy.AddGlobalEventHandler

Aggiunge un sink globale per notificare alle azioni generate dal plug-in

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

Sintassi

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

Parametri

Valore restituito

Tipo: System.Boolean
True se è in caso contrario, false.

Sicurezza di .NET Framework

Vedere anche

Riferimenti

UITechnologyManagerProxy Classe

Spazio dei nomi Microsoft.VisualStudio.TestTools.UITesting