<PackageReference Include="Relativity.Other" Version="9.5.342.116" />

RetryHelper

public sealed class RetryHelper
public static T ExecuteFunctionWithRetry<T>(Func<T> funcDelegate, int retryAttempts, int waitTime, Func<Exception, bool> isRetryableDelegate)

public static T ExecuteFunctionWithRetry<T>(Func<T> funcDelegate, int retryAttempts, int waitTime)

public static Task<T> ExecuteFunctionWithRetryAsync<T>(Func<Task<T>> funcDelegate, int retryAttempts, int waitTime, Func<Exception, bool> isRetryableDelegate)

public static Task<T> ExecuteFunctionWithRetryAsync<T>(Func<Task<T>> funcDelegate, int retryAttempts, int waitTime)

public static int ExecuteSubWithRetry(Action subDelegate, int retryAttempts, int waitTime, Func<Exception, bool> isRetryableDelegate, IRetryLogger logger)

public static int ExecuteSubWithRetry(Action subDelegate, int retryAttempts, int waitTime, Func<Exception, bool> isRetryableDelegate)

public static int ExecuteSubWithRetry(Action subDelegate, int retryAttempts, int waitTime)

public static Task<int> ExecuteSubWithRetryAsync(Func<Task> subDelegate, int retryAttempts, int waitTime, Func<Exception, bool> isRetryableDelegate)

public static Task<int> ExecuteSubWithRetryAsync(Func<Task> subDelegate, int retryAttempts, int waitTime)