Partager via


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)

Syntax

'Declaration
Public MustOverride Function RemoveGlobalEventHandler ( _
    eventType As UITestEventType, _
    eventSink As IUITestEventNotify _
) As Boolean
public abstract bool RemoveGlobalEventHandler(
    UITestEventType eventType,
    IUITestEventNotify eventSink
)
public:
virtual bool RemoveGlobalEventHandler(
    UITestEventType eventType, 
    IUITestEventNotify^ eventSink
) abstract
abstract RemoveGlobalEventHandler : 
        eventType:UITestEventType * 
        eventSink:IUITestEventNotify -> bool
public abstract function RemoveGlobalEventHandler(
    eventType : UITestEventType, 
    eventSink : IUITestEventNotify
) : boolean

Parameters

Return Value

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

.NET Framework Security

See Also

Reference

UITechnologyManager Class

Microsoft.VisualStudio.TestTools.UITest.Extension Namespace

UITestEventType

IUITestEventNotify