Class RetryHelper
- Namespace
- Dynamicweb.DataIntegration.Providers.ODataProvider.Model
- Assembly
- Dynamicweb.DataIntegration.dll
public static class RetryHelper
- Inheritance
-
RetryHelper
- Inherited Members
Methods
RetryOnExceptionAsync<TException>(int, Func<CancellationToken, Task>, ILogger?, CancellationToken)
public static Task RetryOnExceptionAsync<TException>(int maxRetryAttempts, Func<CancellationToken, Task> operation, ILogger? logger, CancellationToken cancellationToken) where TException : Exception
Parameters
maxRetryAttemptsintoperationFunc<CancellationToken, Task>loggerILoggercancellationTokenCancellationToken
Returns
Type Parameters
TException
RetryOnExceptionAsync<TException>(int, Func<Task>, ILogger?)
public static Task RetryOnExceptionAsync<TException>(int maxRetryAttempts, Func<Task> operation, ILogger? logger) where TException : Exception
Parameters
Returns
Type Parameters
TException