CoreWebView2Notification.ReportClosed Method
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.
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.