Share via


CoreWebView2Notification.ReportShown Method

Definition

The host may run this to report the notification has been displayed and it will cause the show event to be raised for non-persistent notifications.

public void ReportShown ();
member this.ReportShown : unit -> unit
Public Sub ReportShown ()

Remarks

You must not run this unless you are handling the NotificationReceived. API throws COMException with error code of HRESULT_FROM_WIN32(ERROR_INVALID_STATE) if Handled is false when this is called.

Applies to