Udostępnij za pośrednictwem


Metoda UITechnologyManagerProxy.AddGlobalEventHandler —

Dodaje globalny obiekt sink powiadomić akcje wywoływane przez dodatek plug-in

Przestrzeń nazw:  Microsoft.VisualStudio.TestTools.UITesting
Zestaw:  Microsoft.VisualStudio.TestTools.UITesting (w Microsoft.VisualStudio.TestTools.UITesting.dll)

Składnia

'Deklaracja
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

Parametry

Wartość zwracana

Typ: Boolean
PRAWDA, jeśli to się powiedzie, w przeciwnym przypadku FAŁSZ.

Zabezpieczenia programu .NET Framework

Zobacz też

Informacje

UITechnologyManagerProxy Klasa

Przestrzeń nazw Microsoft.VisualStudio.TestTools.UITesting