Share via


AsyncRetryHandler Delegate

Definition

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.

Applies to