Class
RpcRetryOptions
Configures retry behavior for JSON-RPC calls.
Inheritance
- Object
- RpcRetryOptions
Constructors
public RpcRetryOptions() #Methods
public Boolean IsRetryable(Exception ex) #Returns:
BooleanDetermines whether the supplied exception is retryable.
Parameters
- ex System.Exception
- Exception to evaluate.
Returns
true when the exception should be retried.
Inherited Methods
public override Boolean Equals(Object obj) #Returns:
BooleanInherited from Object
Parameters
- obj Object
Properties
public Int32 RetryCount { get; set; } #Gets or sets the number of retry attempts.
public TimeSpan InitialDelay { get; set; } #Gets or sets the initial retry delay.
public TimeSpan MaxDelay { get; set; } #Gets or sets the maximum retry delay.
public Func<Exception, Boolean> ShouldRetry { get; set; } #Gets or sets a custom retry predicate.
public Boolean Enabled { get; } #Gets a value indicating whether retries are enabled.