Lingua

CoreWebView2.NotificationReceived Event

Definition

NotificationReceived is raised when a non-persistent notification is received.

If a deferral is not taken on the event args, the subsequent scripts after the DOM notification creation call (i.e. Notification()) are blocked until the event handler returns. If a deferral is taken, the scripts are blocked until the deferral is completed.

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

Event Type

Applies to