public RetryManager(RetryWaitTimer waitTimer, int maxRetries, int totalTimeLimit) { if (waitTimer == null) { throw new ArgumentNullException("wait"); } _waitTimer = waitTimer; SetMaxRetries(maxRetries); SetTotalTimeLimit(totalTimeLimit); }
public RetryManager(RetryWaitTimer waitTimer, int maxRetries) : this(waitTimer, maxRetries, Timeout.Infinite) { }
public RetryManager(RetryWaitTimer waitTimer) : this(waitTimer, InfiniteRetries) { }