Example #1
0
 public RetryAction(RetryPolicy.RetryAction.RetryDecision action, long delayTime,
                    string reason)
 {
     // A few common retry policies, with no delays.
     this.action      = action;
     this.delayMillis = delayTime;
     this.reason      = reason;
 }
Example #2
0
 public RetryAction(RetryPolicy.RetryAction.RetryDecision action, long delayTime)
     : this(action, delayTime, null)
 {
 }
Example #3
0
 public RetryAction(RetryPolicy.RetryAction.RetryDecision action)
     : this(action, 0, null)
 {
 }