AsyncExecutorWithRetries Class
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.
This class is a convenient utility class to execute a certain asynchronous function with retries, allowing to specify custom retry filters and policies.
public static class AsyncExecutorWithRetries
type AsyncExecutorWithRetries = class
Public Class AsyncExecutorWithRetries
- Inheritance
-
AsyncExecutorWithRetries
Fields
INFINITE_RETRIES |
Constant used to request an infinite number of retries. |
Methods
ExecuteWithRetries(Func<Int32,Task>, Int32, Func<Exception,Int32,Boolean>, TimeSpan, IBackoffProvider) |
Execute a given function a number of times, based on retry configuration parameters. |
ExecuteWithRetries<T>(Func<Int32,Task<T>>, Int32, Func<Exception,Int32,Boolean>, TimeSpan, IBackoffProvider) |
Execute a given function a number of times, based on retry configuration parameters. |
ExecuteWithRetries<T>(Func<Int32,Task<T>>, Int32, Int32, Func<T, Int32,Boolean>, Func<Exception,Int32,Boolean>, TimeSpan, IBackoffProvider, IBackoffProvider) |
Execute a given |