Partager via


CoreWebView2.GetDevToolsProtocolEventReceiver(String) Method

Definition

Gets a DevTools Protocol event receiver that allows you to subscribe to a DevToolsProtocol event.

public Microsoft.Web.WebView2.Core.CoreWebView2DevToolsProtocolEventReceiver GetDevToolsProtocolEventReceiver (string eventName);
member this.GetDevToolsProtocolEventReceiver : string -> Microsoft.Web.WebView2.Core.CoreWebView2DevToolsProtocolEventReceiver
Public Function GetDevToolsProtocolEventReceiver (eventName As String) As CoreWebView2DevToolsProtocolEventReceiver

Parameters

eventName
String

The full name of the event in the format {domain}.{event}.

Returns

A Devtools Protocol event receiver.

Remarks

For more information about DevToolsProtocol events description and event args, navigate to DevTools Protocol Viewer.

Applies to