Table of Contents

Class PipelineRecordDeadLetteredEventArgs<T>

Namespace
Pipelinez.Core.Eventing
Assembly
Pipelinez.dll

Contains data for record-dead-lettered notifications.

public sealed class PipelineRecordDeadLetteredEventArgs<T> where T : PipelineRecord

Type Parameters

T

The dead-lettered record type.

Inheritance
PipelineRecordDeadLetteredEventArgs<T>
Inherited Members

Constructors

PipelineRecordDeadLetteredEventArgs(T, PipelineDeadLetterRecord<T>, PipelineRecordDiagnosticContext?)

Initializes a new record-dead-lettered payload.

public PipelineRecordDeadLetteredEventArgs(T record, PipelineDeadLetterRecord<T> deadLetterRecord, PipelineRecordDiagnosticContext? diagnostic = null)

Parameters

record T
deadLetterRecord PipelineDeadLetterRecord<T>
diagnostic PipelineRecordDiagnosticContext

Properties

DeadLetterRecord

Gets the dead-letter envelope written for the record.

public PipelineDeadLetterRecord<T> DeadLetterRecord { get; }

Property Value

PipelineDeadLetterRecord<T>

Diagnostic

Gets the diagnostic context for the record, if one exists.

public PipelineRecordDiagnosticContext? Diagnostic { get; }

Property Value

PipelineRecordDiagnosticContext

Record

Gets the dead-lettered record.

public T Record { get; }

Property Value

T