Delegate IRetryPolicy.RetriedOperation<T>
Delegate to define the operation that might be retried.
Namespace: Unity.Cloud.Common
Assembly: Unity.Cloud.Common.dll
Syntax
public delegate Task<T> IRetryPolicy.RetriedOperation<T>(CancellationToken cancellationToken)
Parameters
| Type | Name | Description |
|---|---|---|
| CancellationToken | cancellationToken | Use this token to handle cancellation. |
Returns
| Type | Description |
|---|---|
| Task<T> |
Type Parameters
| Name | Description |
|---|---|
| T | The type of the result for the operation. |