Exemple #1
0
 public CustomRetryPolicy(RetryPolicy retryPolicy) : base(retryPolicy)
 {
 }
Exemple #2
0
 public RetryPolicy(RetryPolicy retryPolicy)
 {
     MaxAttempts     = retryPolicy.MaxAttempts;
     Timeout         = TimeSpan.FromTicks(retryPolicy.Timeout.Ticks);
     InitialInterval = TimeSpan.FromTicks(retryPolicy.InitialInterval.Ticks);
 }