Table of Contents

Class PipelineRecordFaultedEventArgs<T>

Namespace
Pipelinez.Core.Eventing
Assembly
Pipelinez.dll

Contains data for the record-faulted event.

public sealed class PipelineRecordFaultedEventArgs<T> where T : PipelineRecord

Type Parameters

T

The faulted record type.

Inheritance
PipelineRecordFaultedEventArgs<T>
Inherited Members

Constructors

PipelineRecordFaultedEventArgs(T, PipelineContainer<T>, PipelineFaultState, PipelineRecordDistributionContext?, PipelineRecordDiagnosticContext?)

Initializes a new record-faulted event payload.

public PipelineRecordFaultedEventArgs(T record, PipelineContainer<T> container, PipelineFaultState fault, PipelineRecordDistributionContext? distribution = null, PipelineRecordDiagnosticContext? diagnostic = null)

Parameters

record T
container PipelineContainer<T>
fault PipelineFaultState
distribution PipelineRecordDistributionContext
diagnostic PipelineRecordDiagnosticContext

Properties

Container

Gets the faulted container.

public PipelineContainer<T> Container { get; }

Property Value

PipelineContainer<T>

Diagnostic

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

public PipelineRecordDiagnosticContext? Diagnostic { get; }

Property Value

PipelineRecordDiagnosticContext

Distribution

Gets the distributed execution context for the record, if one exists.

public PipelineRecordDistributionContext? Distribution { get; }

Property Value

PipelineRecordDistributionContext

Fault

Gets the recorded fault state.

public PipelineFaultState Fault { get; }

Property Value

PipelineFaultState

Record

Gets the faulted record.

public T Record { get; }

Property Value

T