Exemplo n.º 1
0
        private ResponseObject RetryMethodContextDisableBackoffOnceImplementation(RetryContext context)
        {
            if (context.Iteration == 0)
            {
                context.DisableBackoff();
            }

            return(new ResponseObject(ResponseCode.Error));
        }
Exemplo n.º 2
0
 private ResponseObject RetryMethodContextDisableBackoffImplementation(RetryContext context)
 {
     context.DisableBackoff();
     return(new ResponseObject(ResponseCode.Error));
 }