The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.
UITechnologyManager::AddGlobalEventHandler Method (UITestEventType, IUITestEventNotify^)
Adds a global event sink to this technology manager.
Assembly: Microsoft.VisualStudio.TestTools.UITest.Extension (in Microsoft.VisualStudio.TestTools.UITest.Extension.dll)
public: virtual bool AddGlobalEventHandler( UITestEventType eventType, IUITestEventNotify^ eventSink ) abstract
Parameters
- eventType
-
Type:
Microsoft.VisualStudio.TestTools.UITest.Extension::UITestEventType
A member of the UITestEventType enumeration that specifies the type of event.
- eventSink
-
Type:
Microsoft.VisualStudio.TestTools.UITest.Extension::IUITestEventNotify^
An IUITestEventNotify that logs the events.
Return Value
Type: System::Booleantrue if the event type is supported and is successfully added; otherwise, false.
Show: