Compartilhar via


CoreWebView2Notification.ReportClosed Method

Definition

The host may run this to report the notification was dismissed, and it will cause the close event to be raised for non-persistent notifications.

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

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 or ReportShown() has not been run when this is called.

Applies to