CoreWebView2DiagnosticReceivedEventArgs Class

Event args for the CoreWebView2DiagnosticMonitor.DiagnosticReceived event. Each instance represents a single diagnostic signal.

Summary

Members Description
Category The diagnostic category that this event belongs to.
DetailsAsJson Returns category-specific diagnostic data as a JSON string.
Scope The scope that originated this diagnostic signal.
Timestamp The wall-clock time at which the runtime observed this diagnostic event.

Properties

Category

readonly CoreWebView2DiagnosticCategory Category

The diagnostic category that this event belongs to.

DetailsAsJson

readonly string DetailsAsJson

Returns category-specific diagnostic data as a JSON string. The schema for each category is documented on the corresponding CoreWebView2DiagnosticCategory value. The runtime may include additional key-value pairs beyond the documented fields; consumers should ignore unknown keys.

Scope

readonly CoreWebView2DiagnosticScope Scope

The scope that originated this diagnostic signal.

Timestamp

readonly int64_t Timestamp

The wall-clock time at which the runtime observed this diagnostic event. Use this value to correlate diagnostic events with other timestamped telemetry. The value is derived from the system clock and may be affected by clock adjustments, for example NTP.

Referenced by