1

Closed

Add Transient.Retry and Transient.SqlRetry methods

description

Add Transient.Retry to allow for specific code blocks to be easily wrapped within "retry logic" to allow for re-attempting in case of certain transient errors.
 
Example usage:
object data = null;
Transient.Retry<Exception>(() => {
data = WebService.Call();
});
if (data != null)
{
// do something
}
Closed Mar 2, 2012 at 12:47 PM by crpietschmann
done

comments