Note
Access to this page requires authorization. You can try signing in or .
Access to this page requires authorization. You can try .
ServiceBusRetryOptions Class
Definition
- Namespace:
- Azure.Messaging.ServiceBus
- Assembly:
- Azure.Messaging.ServiceBus.dll
- Package:
- Azure.Messaging.ServiceBus v7.20.1
- Package:
- Azure.Messaging.ServiceBus v7.18.0-beta.1
- Source:
- ServiceBusRetryOptions.cs
- Source:
- ServiceBusRetryOptions.cs
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.
The set of options that can be specified to influence how retry attempts are made, and a failure is eligible to be retried.
public class ServiceBusRetryOptions
type ServiceBusRetryOptions = class
Public Class ServiceBusRetryOptions
- Inheritance
-
ServiceBusRetryOptions
Constructors
| Name | Description |
|---|---|
| ServiceBusRetryOptions() | |
Properties
| Name | Description |
|---|---|
| CustomRetryPolicy |
A custom retry policy to be used in place of the individual option values. |
| Delay |
The delay between retry attempts for a fixed approach or the delay on which to base calculations for a backoff-based approach. |
| MaxDelay |
The maximum permissible delay between retry attempts. |
| MaxRetries |
The maximum number of retry attempts before considering the associated operation to have failed. |
| Mode |
The approach to use for calculating retry delays. |
| TryTimeout |
The maximum duration to wait for completion of a single attempt, whether the initial attempt or a retry. |
Applies to
Azure SDK for .NET
Feedback
Was this page helpful?
