UITechnologyManagerProxy.RemoveGlobalEventHandler Method
Removes a global sink to notifiy actions raised by the plugin
Namespace: Microsoft.VisualStudio.TestTools.UITesting
Assembly: Microsoft.VisualStudio.TestTools.UITesting (in Microsoft.VisualStudio.TestTools.UITesting.dll)
Syntax
'Declaration
Public Overrides Function RemoveGlobalEventHandler ( _
eventType As UITestEventType, _
eventSink As IUITestEventNotify _
) As Boolean
public override bool RemoveGlobalEventHandler(
UITestEventType eventType,
IUITestEventNotify eventSink
)
public:
virtual bool RemoveGlobalEventHandler(
UITestEventType eventType,
IUITestEventNotify^ eventSink
) override
abstract RemoveGlobalEventHandler :
eventType:UITestEventType *
eventSink:IUITestEventNotify -> bool
override RemoveGlobalEventHandler :
eventType:UITestEventType *
eventSink:IUITestEventNotify -> bool
public override function RemoveGlobalEventHandler(
eventType : UITestEventType,
eventSink : IUITestEventNotify
) : boolean
Parameters
eventType
Type: Microsoft.VisualStudio.TestTools.UITest.Extension.UITestEventTypeThe type of event to remove.
eventSink
Type: Microsoft.VisualStudio.TestTools.UITest.Extension.IUITestEventNotifySink used for notification
Return Value
Type: Boolean
True if it is successful, otherwise false.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.