Class PipelineRecordCompletedEventHandlerArgs<T>
Contains data for the record-completed event.
public sealed class PipelineRecordCompletedEventHandlerArgs<T>
Type Parameters
TThe completed record type.
- Inheritance
-
PipelineRecordCompletedEventHandlerArgs<T>
- Inherited Members
Constructors
PipelineRecordCompletedEventHandlerArgs(T, PipelineRecordDistributionContext?, PipelineRecordDiagnosticContext?)
Initializes a new record-completed event payload.
public PipelineRecordCompletedEventHandlerArgs(T record, PipelineRecordDistributionContext? distribution = null, PipelineRecordDiagnosticContext? diagnostic = null)
Parameters
recordTThe completed record.
distributionPipelineRecordDistributionContextThe distributed execution context, if one exists.
diagnosticPipelineRecordDiagnosticContextThe diagnostic context, if one exists.
Properties
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
Record
Gets the completed record.
public T Record { get; }
Property Value
- T