Пример #1
0
        public static RetryPolicy MakeHttpRetryPolicy(int count,
                                                      bool notFoundIsTransient)
        {
            ITransientErrorDetectionStrategy strategy = new HttpTransientErrorDetectionStrategy(notFoundIsTransient);

            return(Exponential(strategy, count));
        }
 public static RetryPolicy MakeHttpRetryPolicy(int count,
                                               bool notFoundIsTransient)
 {
     ITransientErrorDetectionStrategy strategy = new HttpTransientErrorDetectionStrategy(notFoundIsTransient);
     return Exponential(strategy, count);
 }