CoreWebView2.NotificationReceived 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.
Add an event handler for the NotificationReceived
event for
non-persistent notifications.
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)