Sdílet prostřednictvím


CoreWebView2NotificationReceivedEventArgs Class

Definition

Event args for the NotificationReceived.

public class CoreWebView2NotificationReceivedEventArgs : EventArgs
type CoreWebView2NotificationReceivedEventArgs = class
    inherit EventArgs
Public Class CoreWebView2NotificationReceivedEventArgs
Inherits EventArgs
Inheritance
CoreWebView2NotificationReceivedEventArgs

Properties

Handled

Sets whether the NotificationReceived is handled by the host after the event handler completes or if there is a deferral then after the deferral is completed.

Notification

The notification that was received.

SenderOrigin

The origin of the web content that sends the notification, such as https://example.com/ or https://www.example.com/.

Methods

GetDeferral()

Gets a Deferral object. Use this to Complete the event at a later time.

Applies to