API Reference
Class
RpcRetryOptions
Configures retry behavior for JSON-RPC calls.
Inheritance
- Object
- RpcRetryOptions
Usage
Explore 1 API references to this type
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by 1
- Property AppServerOptions.RpcRetry
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 virtual 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 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.