Class PipelineDeadLetterWriteFailedEventArgs<T>
Contains data for dead-letter-write-failed notifications.
public sealed class PipelineDeadLetterWriteFailedEventArgs<T> where T : PipelineRecord
Type Parameters
TThe record type associated with the failed dead-letter write.
- Inheritance
-
PipelineDeadLetterWriteFailedEventArgs<T>
- Inherited Members
Constructors
PipelineDeadLetterWriteFailedEventArgs(T, PipelineDeadLetterRecord<T>, Exception, PipelineRecordDiagnosticContext?)
Initializes a new dead-letter-write-failed payload.
public PipelineDeadLetterWriteFailedEventArgs(T record, PipelineDeadLetterRecord<T> deadLetterRecord, Exception exception, PipelineRecordDiagnosticContext? diagnostic = null)
Parameters
recordTdeadLetterRecordPipelineDeadLetterRecord<T>exceptionExceptiondiagnosticPipelineRecordDiagnosticContext
Properties
DeadLetterRecord
Gets the dead-letter envelope that failed to write.
public PipelineDeadLetterRecord<T> DeadLetterRecord { get; }
Property Value
Diagnostic
Gets the diagnostic context for the record, if one exists.
public PipelineRecordDiagnosticContext? Diagnostic { get; }
Property Value
Exception
Gets the exception raised by the dead-letter destination.
public Exception Exception { get; }
Property Value
Record
Gets the record associated with the failed dead-letter write.
public T Record { get; }
Property Value
- T