Class PipelineRecordDeadLetteredEventArgs<T>
Contains data for record-dead-lettered notifications.
public sealed class PipelineRecordDeadLetteredEventArgs<T> where T : PipelineRecord
Type Parameters
TThe 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
recordTdeadLetterRecordPipelineDeadLetterRecord<T>diagnosticPipelineRecordDiagnosticContext
Properties
DeadLetterRecord
Gets the dead-letter envelope written for the record.
public PipelineDeadLetterRecord<T> DeadLetterRecord { get; }
Property Value
Diagnostic
Gets the diagnostic context for the record, if one exists.
public PipelineRecordDiagnosticContext? Diagnostic { get; }
Property Value
Record
Gets the dead-lettered record.
public T Record { get; }
Property Value
- T