Skip to content

UnknownEventPayload Class

The payload of an event whose type is not registered, carried as raw JSON.

C#
public sealed class UnknownEventPayload : Abblix.SecurityEvents.Events.IEventPayload

Inheritance System.Object → UnknownEventPayload

Implements IEventPayload

Remarks

An unregistered type is a normal condition, not an error: a transmitter may start emitting a new event type before its receivers update, and a receiver that rejected what it does not recognise would go deaf exactly when the stream evolves. The raw payload stays available, so a consumer can log it, route it, or ignore it deliberately - each of which requires having received it.

Constructors

UnknownEventPayload(JsonObject) Constructor

The payload of an event whose type is not registered, carried as raw JSON.

C#
public UnknownEventPayload(System.Text.Json.Nodes.JsonObject json);

Parameters

json System.Text.Json.Nodes.JsonObject

The payload exactly as the event statement carried it.

Remarks

An unregistered type is a normal condition, not an error: a transmitter may start emitting a new event type before its receivers update, and a receiver that rejected what it does not recognise would go deaf exactly when the stream evolves. The raw payload stays available, so a consumer can log it, route it, or ignore it deliberately - each of which requires having received it.

Properties

UnknownEventPayload.Json Property

The payload exactly as the event statement carried it.

C#
public System.Text.Json.Nodes.JsonObject Json { get; }

Property Value

System.Text.Json.Nodes.JsonObject