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
contextIRetryPolicyContextOperation context.
Returns
- bool
trueif the operation should be retried on another connection,falseotherwise.
ToString()
public override string ToString()