Struct RetryQueuedProgress
Contains information about a RetryQueue event, when using ExecuteAsync<T>(IRetryPolicy.RetriedOperation<T>, IRetryPolicy.ShouldRetryChecker<T>, CancellationToken, IProgress<RetryQueuedProgress>) or its additional extensions.
Inherited Members
Namespace: Unity.Cloud.Common
Syntax
public readonly struct RetryQueuedProgress
Constructors
RetryQueuedProgress(Int32, TimeSpan)
Creates a RetryQueuedProgress.
Declaration
public RetryQueuedProgress(int count, TimeSpan delay)
Parameters
| Type | Name | Description |
|---|---|---|
| Int32 | count | The number of retries since the first attempt. |
| TimeSpan | delay | The delay that will be awaited before next attempt. |
Properties
DelayUntilNextTry
The delay that will be awaited before next attempt.
Declaration
public readonly TimeSpan DelayUntilNextTry { get; }
Property Value
| Type | Description |
|---|---|
| TimeSpan |
RetryCount
The number of retries since the first attempt.
Declaration
public readonly int RetryCount { get; }
Property Value
| Type | Description |
|---|---|
| Int32 |