DevToolsClientRemoveEventHandlerT Method |
Version 130.1.90
Remove event handler for a DevTools protocol event.
Namespace: CefSharp.DevToolsAssembly: CefSharp.Core (in CefSharp.Core.dll) Version: 129.0.110.0
Syntax public bool RemoveEventHandler<T>(
string eventName,
EventHandler<T> eventHandler
)
where T : EventArgs
public:
generic<typename T>
where T : EventArgs
virtual bool RemoveEventHandler(
String^ eventName,
EventHandler<T>^ eventHandler
) sealed
Parameters
- eventName String
- is the event name to listen to
- eventHandler EventHandlerT
- event handler to call when the event occurs
Type Parameters
- T
- The event args type to which the event will be deserialized to.
Return Value
Boolean
Returns false if all handlers for the
eventName have been removed,
otherwise returns true if there are still handlers registered.
Implements
IDevToolsClientRemoveEventHandlerT(String, EventHandlerT)See Also