Idioma

CoreWebView2DiagnosticMonitor Class

Definition

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).

Applies to