title: How does ExponentialBackoffRetry works with ServiceBus Trigger for Azure function?
body: <p>I want to implement a very simple behavior in my Azure Function: if there is an exception during handling, I want to postpone the next retry for some time. As far as I know there is no direct possibility for that in the Service Bus e.g. (unless one creates a new message), but Service Bus Trigger has a possibility for <code>ExponentialBackoffRetry</code>.</p>
  <p>I have not found any documentation on how that might work with regards to Service Bus Connection. I.e. what happens with the message after the execution of the function fails.</p>
  <p>One possible way is to keep the message in functions infrastructure and keep renewing the lock for the duration I suppose. Some more practical questions on what I am wondering about:</p>
  <ol>
  <li>How long can I use backoff retry (e.g. if I want retry to up to 7 days e.g. will that work?)</li>
  <li>What happens when host is being reset/restarted/scaled, do I lose this backoff due to implementation details or it is still somehow maintained?</li>
  </ol>