private ResponseObject RetryMethodContextDisableBackoffOnceImplementation(RetryContext context) { if (context.Iteration == 0) { context.DisableBackoff(); } return(new ResponseObject(ResponseCode.Error)); }
private ResponseObject RetryMethodContextDisableBackoffImplementation(RetryContext context) { context.DisableBackoff(); return(new ResponseObject(ResponseCode.Error)); }