Information
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.

UITechnologyManagerProxy::AddGlobalEventHandler Method (UITestEventType, IUITestEventNotify^)

 

Adds a global sink to notify actions raised by the plugin

Namespace:   Microsoft.VisualStudio.TestTools.UITesting
Assembly:  Microsoft.VisualStudio.TestTools.UITesting (in Microsoft.VisualStudio.TestTools.UITesting.dll)

public:
virtual bool AddGlobalEventHandler(
	UITestEventType eventType,
	IUITestEventNotify^ eventSink
) override

Parameters

eventType
Type: Microsoft.VisualStudio.TestTools.UITest.Extension::UITestEventType

The type of event to listen to.

eventSink
Type: Microsoft.VisualStudio.TestTools.UITest.Extension::IUITestEventNotify^

Sink used for notification

Return Value

Type: System::Boolean

True if it is successful, otherwise false.

Return to top
Show: