EnableNewReconnectOptions Property
EnableNewReconnectOptions
(unsupported) Whether to enable the new reconnect options.
Declaration
public bool EnableNewReconnectOptions { get; set; }
Property Value
bool |
Remarks
The ReconnectMode option specifies a synchronous and an asynchronous mode, but they are both implemented in the same way. These modes actually don't make a lot of sense. And, reconnection is disabled by default.
When the new reconnect options are enabled, this option is ignored, and replaced by the
Reconnect option, which is a boolean and indicates whether to
reconnect or not. It is true
by default. Invocations that fail because the client is reconnecting
will be retried (all of them, reads and writes) until the client is reconnected, or the invocation times
out.