IDevToolsClientRemoveEventHandlerT Method |
Version 112.3.0
Remove event handler for a DevTools protocol event.
Namespace:
CefSharp.DevTools
Assembly:
CefSharp.Core (in CefSharp.Core.dll) Version: 112.3.0.0
Syntax bool RemoveEventHandler<T>(
string eventName,
EventHandler<T> eventHandler
)
where T : EventArgs
generic<typename T>
where T : EventArgs
bool RemoveEventHandler(
String^ eventName,
EventHandler<T>^ eventHandler
)
Parameters
- eventName
- Type: SystemString
is the event name to listen to - eventHandler
- Type: SystemEventHandlerT
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
Type:
Boolean
Returns false if all handlers for the
eventName have been removed,
otherwise returns true if there are still handlers registered.
See Also