Class RetryNonePolicy
Retry policy that always returns false.
public sealed class RetryNonePolicy : IRetryPolicy
- Inheritance
-
RetryNonePolicy
- Implements
- Inherited Members
Fields
Instance
Singleton instance.
public static readonly RetryNonePolicy Instance
Field Value
Methods
ShouldRetry(IRetryPolicyContext)
Gets a value indicating whether a client operation that has failed due to a connection issue should be retried.
public bool ShouldRetry(IRetryPolicyContext context)
Parameters
context
IRetryPolicyContextOperation context.
Returns
- bool
true
if the operation should be retried on another connection,false
otherwise.
ToString()
Returns a string that represents the current object.
public override string ToString()
Returns
- string
A string that represents the current object.