Table of Contents

Class ProcessingAttempt

Namespace
Excalibur.Dispatch.ErrorHandling
Assembly
Excalibur.Dispatch.dll

Represents a single processing attempt.

public sealed class ProcessingAttempt
Inheritance
ProcessingAttempt
Inherited Members
Extension Methods

Properties

AttemptNumber

Gets or sets the attempt number.

public int AttemptNumber { get; set; }

Property Value

int

The current AttemptNumber value.

AttemptTime

Gets or sets the timestamp of the attempt.

public DateTimeOffset AttemptTime { get; set; }

Property Value

DateTimeOffset

The current AttemptTime value.

Duration

Gets or sets the duration of the attempt.

public TimeSpan Duration { get; set; }

Property Value

TimeSpan

The current Duration value.

ErrorMessage

Gets or sets the error message if the attempt failed.

public string? ErrorMessage { get; set; }

Property Value

string

The current ErrorMessage value.

ExceptionType

Gets or sets the exception type if the attempt failed.

public string? ExceptionType { get; set; }

Property Value

string

The current ExceptionType value.

Succeeded

Gets or sets a value indicating whether the attempt succeeded.

public bool Succeeded { get; set; }

Property Value

bool

The current Succeeded value.