Class RetryConfig
public class RetryConfig
- Inheritance
-
RetryConfig
- Inherited Members
Constructors
RetryConfig(RetryStrategy, BackoffStrategy?, bool)
Selects the retry strategy.
public RetryConfig(RetryConfig.RetryStrategy strategy, BackoffStrategy? backoff = null, bool retryConnectionErrors = false)
Parameters
strategy
RetryConfig.RetryStrategyThe retry strategy.
backoff
BackoffStrategyThe backoff strategy configuration (if applicable)
retryConnectionErrors
boolWhether to retry on connection errors.
Remarks
The backoff strategy is only required if the retry strategy is set to BACKOFF. To disable retries, set the strategy to NONE.
Fields
Backoff
public readonly BackoffStrategy? Backoff
Field Value
RetryConnectionErrors
public readonly bool RetryConnectionErrors
Field Value
Strategy
public readonly RetryConfig.RetryStrategy Strategy