UITechnologyManager.RemoveGlobalEventHandler Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Removes the specified event.
public:
abstract bool RemoveGlobalEventHandler(Microsoft::VisualStudio::TestTools::UITest::Extension::UITestEventType eventType, Microsoft::VisualStudio::TestTools::UITest::Extension::IUITestEventNotify ^ eventSink);
public abstract bool RemoveGlobalEventHandler (Microsoft.VisualStudio.TestTools.UITest.Extension.UITestEventType eventType, Microsoft.VisualStudio.TestTools.UITest.Extension.IUITestEventNotify eventSink);
abstract member RemoveGlobalEventHandler : Microsoft.VisualStudio.TestTools.UITest.Extension.UITestEventType * Microsoft.VisualStudio.TestTools.UITest.Extension.IUITestEventNotify -> bool
Public MustOverride Function RemoveGlobalEventHandler (eventType As UITestEventType, eventSink As IUITestEventNotify) As Boolean
Parameters
- eventType
- UITestEventType
A member of the UITestEventType enumeration.
- eventSink
- IUITestEventNotify
An IUITestEventNotify object that represents the registered event sink.
Returns
true if the event was successfully removed; otherwise, false.