Table of Contents

Class BatchProcessingResult

Namespace
Excalibur.Dispatch.Transport
Assembly
Excalibur.Dispatch.Transport.Abstractions.dll

Result of batch processing.

public sealed class BatchProcessingResult
Inheritance
BatchProcessingResult
Inherited Members
Extension Methods

Properties

BatchId

Gets or sets the batch ID.

public string BatchId { get; set; }

Property Value

string

The current BatchId value.

CompletedAt

Gets or sets when processing completed.

public DateTimeOffset CompletedAt { get; set; }

Property Value

DateTimeOffset

The current CompletedAt value.

Errors

Gets processing errors.

public ICollection<ProcessingError> Errors { get; }

Property Value

ICollection<ProcessingError>

The current Errors value.

FailureCount

Gets or sets the number of failed messages.

public int FailureCount { get; set; }

Property Value

int

The current FailureCount value.

IsPartialSuccess

Gets a value indicating whether the batch was partially successful.

public bool IsPartialSuccess { get; }

Property Value

bool

The current IsPartialSuccess value.

IsSuccess

Gets a value indicating whether the batch was fully successful.

public bool IsSuccess { get; }

Property Value

bool

The current IsSuccess value.

MessageResults

Gets individual message results.

public ICollection<MessageProcessingResult> MessageResults { get; }

Property Value

ICollection<MessageProcessingResult>

The current MessageResults value.

Metadata

Gets batch metadata.

public Dictionary<string, object> Metadata { get; }

Property Value

Dictionary<string, object>

The current Metadata value.

ProcessingDuration

Gets or sets the processing duration.

public TimeSpan ProcessingDuration { get; set; }

Property Value

TimeSpan

The current ProcessingDuration value.

SkippedCount

Gets or sets the number of skipped messages.

public int SkippedCount { get; set; }

Property Value

int

The current SkippedCount value.

StartedAt

Gets or sets when processing started.

public DateTimeOffset StartedAt { get; set; }

Property Value

DateTimeOffset

The current StartedAt value.

SuccessCount

Gets or sets the number of successfully processed messages.

public int SuccessCount { get; set; }

Property Value

int

The current SuccessCount value.

SuccessRate

Gets the success rate.

public double SuccessRate { get; }

Property Value

double

The success rate.

TotalCount

Gets the total message count.

public int TotalCount { get; }

Property Value

int

The current TotalCount value.