EnableNewRetryOptions Property
EnableNewRetryOptions
(unsupported) Whether to enable the new retry options.
Declaration
public bool EnableNewRetryOptions { get; set; }
Property Value
bool |
Remarks
Retrying failed invocations was originally controlled by the RedoOperations option. This option belongs more to messaging, where we may want to enable finer-grain control of retries.
When the new retry options are enabled, this option is ignored and replaced by the
RetryUnsafeOperations option: all safe (read) operations are retried by
default, and this option controls whether to retry unsafe (write) operations. It is false
by default.In
addition, a new option is introduced, RetryOnClientReconnecting which
controls retries when the operation cannot even start because the client is reconnecting. It is true
by default.