RetryOnClientReconnecting Property
RetryOnClientReconnecting
Whether to retry an invocation that has failed to start because the client was offline but still active and reconnecting.
Declaration
public bool RetryOnClientReconnecting { get; set; }
Property Value
bool |
Remarks
This is true
by default, i.e. if the client got disconnected and is reconnecting,
invocations will be retried until they reach their timeout, or the client reconnects. Set this
to false
if you want invocations to fail immediately in case the client gets
disconnected, even if it is trying to reconnect.
Note that this only applies to invocation that failed to start, and therefore this is safe for all invocations. See RetryUnsafeOperations for what happens once the invocation has started.