Table of Contents

Class PipelineDeadLetterWriteFailedEventArgs<T>

Namespace
Pipelinez.Core.Eventing
Assembly
Pipelinez.dll

Contains data for dead-letter-write-failed notifications.

public sealed class PipelineDeadLetterWriteFailedEventArgs<T> where T : PipelineRecord

Type Parameters

T

The 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

record T
deadLetterRecord PipelineDeadLetterRecord<T>
exception Exception
diagnostic PipelineRecordDiagnosticContext

Properties

DeadLetterRecord

Gets the dead-letter envelope that failed to write.

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

Exception

Gets the exception raised by the dead-letter destination.

public Exception Exception { get; }

Property Value

Exception

Record

Gets the record associated with the failed dead-letter write.

public T Record { get; }

Property Value

T