CoreWebView2DiagnosticMonitor Class
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.
A diagnostic monitor that receives signals from all layers. Implements IClosable for deterministic cleanup.
public class CoreWebView2DiagnosticMonitor
type CoreWebView2DiagnosticMonitor = class
Public Class CoreWebView2DiagnosticMonitor
- Inheritance
-
CoreWebView2DiagnosticMonitor
Methods
| Name | Description |
|---|---|
| Close() |
Release the diagnostic subscription and any registered handlers. |
| RemoveDiagnosticFilter(CoreWebView2DiagnosticCategory) |
Removes the diagnostic filter for the specified category. After this call, DiagnosticReceived no longer fires for events in this category. |
| SetDiagnosticFilter(CoreWebView2DiagnosticCategory, String) |
Sets a diagnostic filter for the specified category. After this call, DiagnosticReceived is raised for events in this category that match the JSON criteria. |
Events
| Name | Description |
|---|---|
| DiagnosticReceived |
Raised when a diagnostic signal passes a filter set with SetDiagnosticFilter(CoreWebView2DiagnosticCategory, String). |