UITechnologyManager.RemoveGlobalEventHandler Method

Removes the specified event.

Namespace:  Microsoft.VisualStudio.TestTools.UITest.Extension
Assembly:  Microsoft.VisualStudio.TestTools.UITest.Extension (in Microsoft.VisualStudio.TestTools.UITest.Extension.dll)

public abstract bool RemoveGlobalEventHandler(
	UITestEventType eventType,
	IUITestEventNotify eventSink
)

Parameters

eventType
Type: Microsoft.VisualStudio.TestTools.UITest.Extension.UITestEventType
A member of the UITestEventType enumeration.
eventSink
Type: Microsoft.VisualStudio.TestTools.UITest.Extension.IUITestEventNotify
An IUITestEventNotify object that represents the registered event sink.

Return Value

Type: System.Boolean
true if the event was successfully removed; otherwise, false.

Community Additions

ADD
Show: