Interface IRetryPolicy
Client retry policy determines whether client operations that have failed due to a connection issue should be retried.
public interface IRetryPolicy
Methods
ShouldRetry(IRetryPolicyContext)
Gets a value indicating whether a client operation that has failed due to a connection issue should be retried.
bool ShouldRetry(IRetryPolicyContext context)
Parameters
context
IRetryPolicyContextOperation context.
Returns
- bool
true
if the operation should be retried on another connection,false
otherwise.