ICoreWebView2DevToolsProtocolEventReceiver

Undocumented in source.

Members

Functions

add_DevToolsProtocolEventReceived
HRESULT add_DevToolsProtocolEventReceived(ICoreWebView2DevToolsProtocolEventReceivedEventHandler handler, EventRegistrationToken* token)

Subscribe to a DevToolsProtocol event. The Invoke method of the handler runs whenever the corresponding DevToolsProtocol event runs. Invoke runs with an event args object containing the parameter object of the DevTools Protocol event as a JSON string.

remove_DevToolsProtocolEventReceived
HRESULT remove_DevToolsProtocolEventReceived(EventRegistrationToken token)

Remove an event handler previously added with add_DevToolsProtocolEventReceived.

Meta