ServiceBusRetryPolicy 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.
An abstract representation of a policy to govern retrying of messaging operations.
public abstract class ServiceBusRetryPolicy
type ServiceBusRetryPolicy = class
Public MustInherit Class ServiceBusRetryPolicy
- Inheritance
-
ServiceBusRetryPolicy
Remarks
It is recommended that developers without advanced needs not implement custom retry policies but instead configure the default policy by specifying the desired set of retry options when creating one of the Service Bus clients.
Constructors
ServiceBusRetryPolicy() |
Methods
CalculateRetryDelay(Exception, Int32) |
Calculates the amount of time to wait before another attempt should be made. |
CalculateTryTimeout(Int32) |
Calculates the amount of time to allow the current attempt for an operation to complete before considering it to be timed out. |
Applies to
See also
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