Langue

CoreWebView2DiagnosticMonitor.Close Method

Definition

Release the diagnostic subscription and any registered handlers.

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

Remarks

The application should call this API when no access to the monitor is needed any more, to ensure that the underlying resources are released timely even if the monitor object itself is not released due to some leaked reference.

Applies to