/// <summary> /// Create an Exponential Backoff RetryPolicy using /// a HttpTransientErrorDetectionStrategy detection strategy. /// </summary> /// <returns></returns> public static RetryPolicy MakeHttpRetryPolicy(int retryCount) { var strategy = new HttpTransientErrorDetectionStrategy(); return Exponential(strategy, retryCount); }
/// <summary> /// Create an Exponential Backoff RetryPolicy using /// a HttpTransientErrorDetectionStrategy detection strategy. /// </summary> /// <returns></returns> public static RetryPolicy MakeHttpRetryPolicy(int retryCount) { var strategy = new HttpTransientErrorDetectionStrategy(); return(Exponential(strategy, retryCount)); }