Property IsRetryable
IsRetryable
Declaration
public virtual bool IsRetryable { get; }
Property Value
| Type | Description |
|---|---|
| bool | true if the operation that has thrown this exception may be
retried, otherwise false. The default implementation of
NoSQLException always returns false. |
Remarks
Operation retries are handled automatically by the driver. The application may customize the retry behavior by setting RetryHandler. It is possible that an application may also choose to retry the operation, in which case this property indicates when the operation should be retried.
For instances of NoSQLException the driver will
retry only those that have IsRetryable equal
true. In addition, standard exception types indicating
a network error may be retried for operations that are safe to
replay. See
IRetryHandler for details.
Instances of RetryableException are always retryable. Other subclasses of NoSQLException are usually not retryable but certain instances could be retried if indicated in the documentation for corresponding exception class.