AsyncRetryHandler Delegate
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Delegate for manually handling task retries.
public delegate System.Threading.Tasks.Task<bool> AsyncRetryHandler(RetryContext retryContext);
type AsyncRetryHandler = delegate of RetryContext -> Task<bool>
Public Delegate Function AsyncRetryHandler(retryContext As RetryContext) As Task(Of Boolean)
Parameters
- retryContext
- RetryContext
Retry context that's updated between each retry attempt.
Return Value
Returns true
to continue retrying or false
to stop retrying.