EventHubsRetryPolicy 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 EventHubsRetryPolicy
type EventHubsRetryPolicy = class
Public MustInherit Class EventHubsRetryPolicy
- Inheritance
-
EventHubsRetryPolicy
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 Event Hubs clients.
Constructors
EventHubsRetryPolicy() |
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