Table of Contents

Class MailboxEvent

Namespace
PatternKit.Messaging.Mailboxes
Assembly
PatternKit.Core.dll

Lightweight mailbox event payload for diagnostics and metrics adapters.

public sealed class MailboxEvent
Inheritance
MailboxEvent
Inherited Members

Properties

Exception

The exception associated with a failure event.

public Exception? Exception { get; }

Property Value

Exception

Kind

The event kind.

public MailboxEventKind Kind { get; }

Property Value

MailboxEventKind

QueuedCount

The queued message count observed when the event was raised.

public int QueuedCount { get; }

Property Value

int

Sequence

The mailbox sequence number associated with the event, or zero for lifecycle events.

public long Sequence { get; }

Property Value

long