Skip to content

RetryAttemptFailedEventArgs

Namespace: Hex1b

Assembly: Hex1b.dll

Carries information about a single failed retry attempt.

csharp
public sealed record RetryAttemptFailedEventArgs : IEquatable<RetryAttemptFailedEventArgs>

Inheritance

ObjectRetryAttemptFailedEventArgs

Implements

Constructors

RetryAttemptFailedEventArgs(int, TimeSpan, Exception)

Carries information about a single failed retry attempt.

Parameters:

csharp
public RetryAttemptFailedEventArgs(int AttemptNumber, TimeSpan NextDelay, Exception Error)

Properties

AttemptNumber

Returns: Int32

csharp
public int AttemptNumber { get; init; }

Error

Returns: Exception

csharp
public Exception Error { get; init; }

NextDelay

Returns: TimeSpan

csharp
public TimeSpan NextDelay { get; init; }

Released under the MIT License.