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