Delegate IRetryPolicy.ShouldRetryExceptionChecker
Use this delegate to define which exceptions trigger a retry. It should NOT throw any exception.
Namespace: Unity.Cloud.Common
Assembly: Unity.Cloud.Common.dll
Syntax
public delegate bool IRetryPolicy.ShouldRetryExceptionChecker(Exception thrownException)
Parameters
Type | Name | Description |
---|---|---|
Exception | thrownException | Use this exception to decide whether a retry is needed. |
Returns
Type | Description |
---|---|
bool | Whether the operation should be retried. |