ICoreWebView2DevToolsProtocolEventReceiver.add_DevToolsProtocolEventReceived

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.

\snippet ScriptComponent.cpp DevToolsProtocolEventReceived

interface ICoreWebView2DevToolsProtocolEventReceiver
HRESULT
add_DevToolsProtocolEventReceived

Meta