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