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
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應