Class PipelineRecordFaultedEventArgs<T>
Contains data for the record-faulted event.
public sealed class PipelineRecordFaultedEventArgs<T> where T : PipelineRecord
Type Parameters
TThe 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
recordTcontainerPipelineContainer<T>faultPipelineFaultStatedistributionPipelineRecordDistributionContextdiagnosticPipelineRecordDiagnosticContext
Properties
Container
Gets the faulted container.
public PipelineContainer<T> Container { get; }
Property Value
Diagnostic
Gets the diagnostic context for the record, if one exists.
public PipelineRecordDiagnosticContext? Diagnostic { get; }
Property Value
Distribution
Gets the distributed execution context for the record, if one exists.
public PipelineRecordDistributionContext? Distribution { get; }
Property Value
Fault
Gets the recorded fault state.
public PipelineFaultState Fault { get; }
Property Value
Record
Gets the faulted record.
public T Record { get; }
Property Value
- T