ExecutionStrategy.ShouldVerifySuccessOn(Exception) Method

Definition

Determines whether the specified exception could be thrown after a successful execution.

protected internal virtual bool ShouldVerifySuccessOn (Exception exception);
abstract member ShouldVerifySuccessOn : Exception -> bool
override this.ShouldVerifySuccessOn : Exception -> bool
Protected Friend Overridable Function ShouldVerifySuccessOn (exception As Exception) As Boolean

Parameters

exception
Exception

The exception object to be verified.

Returns

true if the specified exception could be thrown after a successful execution, otherwise false.

Remarks

See Connection resiliency and database retries for more information and examples.

Applies to