Beispiel #1
0
 public ExponentialRetryContext(ExponentialRetryPolicy policy, TContext context, Exception exception, int retryCount)
 {
     _policy     = policy;
     _retryCount = retryCount;
     Context     = context;
     Exception   = exception;
 }
Beispiel #2
0
 public ExponentialRetryPolicyContext(ExponentialRetryPolicy policy, TContext context)
     : base(policy, context)
 {
     _policy = policy;
 }
 public ExponentialRetryContext(ExponentialRetryPolicy policy, TContext context, Exception exception, int retryCount, CancellationToken cancellationToken)
     : base(context, exception, retryCount, cancellationToken)
 {
     _policy = policy;
 }
 public ExponentialRetryPolicyContext(ExponentialRetryPolicy policy, TContext context)
 {
     _policy  = policy;
     _context = context;
 }