Example #1
0
        public RetryManager(RetryWaitTimer waitTimer, int maxRetries, int totalTimeLimit)
        {
            if (waitTimer == null)
            {
                throw new ArgumentNullException("wait");
            }
            _waitTimer = waitTimer;

            SetMaxRetries(maxRetries);
            SetTotalTimeLimit(totalTimeLimit);
        }
Example #2
0
        public RetryManager(RetryWaitTimer waitTimer, int maxRetries, int totalTimeLimit)
        {
            if (waitTimer == null)
            {
                throw new ArgumentNullException("wait");
            }
            _waitTimer = waitTimer;

            SetMaxRetries(maxRetries);
            SetTotalTimeLimit(totalTimeLimit);
        }
Example #3
0
 public RetryManager(RetryWaitTimer waitTimer, int maxRetries)
     : this(waitTimer, maxRetries, Timeout.Infinite)
 {
 }
Example #4
0
 public RetryManager(RetryWaitTimer waitTimer)
     : this(waitTimer, InfiniteRetries)
 {
 }
Example #5
0
 public RetryManager(RetryWaitTimer waitTimer, int maxRetries) : this(waitTimer, maxRetries, Timeout.Infinite)
 {
 }
Example #6
0
 public RetryManager(RetryWaitTimer waitTimer) : this(waitTimer, InfiniteRetries)
 {
 }