WebView2.WebMessageReceived Event
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
WebMessageReceived dispatches after web content sends a message to the
app host via chrome.webview.postMessage
.
This is equivalent to the WebMessageReceived event.
public event EventHandler<Microsoft.Web.WebView2.Core.CoreWebView2WebMessageReceivedEventArgs> WebMessageReceived;
member this.WebMessageReceived : EventHandler<Microsoft.Web.WebView2.Core.CoreWebView2WebMessageReceivedEventArgs>
Public Event WebMessageReceived As EventHandler(Of CoreWebView2WebMessageReceivedEventArgs)