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