Microsoft.Rest.TransientFaultHandling.AsyncExecution<TResult>
Handles the execution and retries of the user-initiated task.
public AsyncExecution(Func<Task<TResult>> taskFunc, ShouldRetryHandler shouldRetryHandler, Func<Exception, bool> isTransient, Action<int, Exception, TimeSpan> onRetrying, bool fastFirstRetry, CancellationToken cancellationToken)