Freigeben über


WebView2.WebMessageReceived Event

Definition

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) 

Event Type

Applies to

See also