Interface ITransientExceptionDetector
Defines an interface that must be implemented by custom components responsible for detecting specific transient conditions.
Namespace: IRM.TransientFaultHandling
Assembly: IRM.dll
Syntax
public interface ITransientExceptionDetector
Methods
ShouldRetryOn(Exception)
Determines whether the specified exception represents a transient failure that can be compensated by a retry.
Declaration
bool ShouldRetryOn(Exception ex)
Parameters
Exception
ex
The exception object to be verified. |
Returns
Boolean
true if the specified exception is considered as transient; otherwise, false. |