共用方式為


CoreWebView2DevToolsProtocolEventReceiver.DevToolsProtocolEventReceived Event

Definition

DevToolsProtocolEventReceived is raised when the corresponding DevToolsProtocol event is raised.

public event EventHandler<Microsoft.Web.WebView2.Core.CoreWebView2DevToolsProtocolEventReceivedEventArgs> DevToolsProtocolEventReceived;
member this.DevToolsProtocolEventReceived : EventHandler<Microsoft.Web.WebView2.Core.CoreWebView2DevToolsProtocolEventReceivedEventArgs> 
Public Custom Event DevToolsProtocolEventReceived As EventHandler(Of CoreWebView2DevToolsProtocolEventReceivedEventArgs) 

Event Type

Remarks

The handler's Invoke method will be called whenever the corresponding DevToolsProtocol event fires. Invoke will be called with an event args object containing the DevTools Protocol event's parameter object as a JSON string.

Applies to

See also