ExponentialBackoff 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.
Represents a retry policy that performs a specified number of retries, using a randomized exponential back off scheme to determine the interval between retries.
public class ExponentialBackoff : Microsoft.Azure.Devices.Client.IRetryPolicy
type ExponentialBackoff = class
interface IRetryPolicy
Public Class ExponentialBackoff
Implements IRetryPolicy
- Inheritance
-
ExponentialBackoff
- Implements
Constructors
ExponentialBackoff(Int32, TimeSpan, TimeSpan, TimeSpan) |
Creates an instance of ExponentialBackoff. |
Methods
ShouldRetry(Int32, Exception, TimeSpan) |
Returns true if, based on the parameters, the operation should be retried. |
Applies to
Azure SDK for .NET
Opinia
https://aka.ms/ContentUserFeedback.
Dostępne już wkrótce: W 2024 r. będziemy stopniowo wycofywać zgłoszenia z serwisu GitHub jako mechanizm przesyłania opinii na temat zawartości i zastępować go nowym systemem opinii. Aby uzyskać więcej informacji, sprawdź:Prześlij i wyświetl opinię dla