Skip to content

DiagnosticEvent.DiagnosticEvent(string, object?, DateTimeOffset)

DiagnosticEvent(string, object?, DateTimeOffset)

public DiagnosticEvent(string Name, object? Payload, DateTimeOffset Timestamp)
Represents a captured diagnostic event with its name and payload.

Parameters

Namestring
The name of the event.
Payloadobject?
The event payload object.
TimestampDateTimeOffset
The time the event was captured.