Share via


CoreWebView2Notification.ReportClicked Method

Definition

The host may run this to report the notification has been clicked, and it will cause the click event to be raised for non-persistent notifications. 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 or ReportShown() has not been run when this is called.

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

Applies to