Category Archives: TFAB

Transient Fault Application Block -The transient fault that was not!

I was perusing the source files for the ServiceBusTransientErrorDetectionStrategy in the TFAB core.

To my suprise I saw these constructs!

Before we start pondering on what is a transient fault and what is not!

Remember that for this implementation MS utilises the IsTransient.
public bool IsTransient(Exception ex)
{
return ex != null && (CheckIsTransient(ex) || (ex.InnerException != null && CheckIsTransient(ex.InnerException)));
}

All of the items are correct however I am struggling with a few elements:

Example.

ex is SecurityTokenException) return true;

How does this comprise a temporary condition in which we cannot reach a partner nor do a transaction….I am not sure it applies!