Table of Contents

Class FailedEvent

Namespace
ReflectionEventing.Queues
Assembly
ReflectionEventing.dll

Represents an event that failed processing, including the event data, the exception that occurred, the consumer that failed, and the timestamp of the failure.

public sealed record FailedEvent : IEquatable<FailedEvent>
Inheritance
FailedEvent
Implements
Inherited Members

Properties

Data

Gets the data of the event that failed processing.

public required object Data { get; init; }

Property Value

object

Exception

Gets the exception that occurred during processing.

public required Exception Exception { get; init; }

Property Value

Exception

FailedConsumer

Gets the type of the consumer that failed to process the event.

public required Type FailedConsumer { get; init; }

Property Value

Type

Timestamp

Gets the timestamp of when the failure occurred.

public required DateTimeOffset Timestamp { get; init; }

Property Value

DateTimeOffset