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