CoreWebView2DiagnosticReceivedEventArgs Class

Definition

Event args for the DiagnosticReceived event.

public class CoreWebView2DiagnosticReceivedEventArgs : EventArgs
type CoreWebView2DiagnosticReceivedEventArgs = class
    inherit EventArgs
Public Class CoreWebView2DiagnosticReceivedEventArgs
Inherits EventArgs
Inheritance
CoreWebView2DiagnosticReceivedEventArgs

Properties

Name Description
Category

The diagnostic category that this event belongs to.

DetailsAsJson

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

Scope

The scope that originated this diagnostic signal.

Timestamp

The wall-clock time at which the runtime observed this diagnostic event, as the number of milliseconds since the UNIX epoch (1970-01-01T00:00:00Z, UTC). 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).

Applies to