Skip to content

Commit

Permalink
[Service Bus] Retry Options Docs (#21653)
Browse files Browse the repository at this point in the history
The focus of these changes is to document the default value used for each
property of the `ServiceBusRetryOptions`.
  • Loading branch information
jsquire authored Jun 7, 2021
1 parent 45177ce commit dc35567
Showing 1 changed file with 12 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,9 @@ public class ServiceBusRetryOptions
/// to have failed.
/// </summary>
///
///
/// <value>The default retry limit is 3.</value>
///
public int MaxRetries
{
get => _maxRetries;
Expand All @@ -52,6 +55,9 @@ public int MaxRetries
/// on which to base calculations for a backoff-based approach.
/// </summary>
///
///
/// <value>The default delay is 0.8 seconds.</value>
///
public TimeSpan Delay
{
get => _delay;
Expand All @@ -67,6 +73,9 @@ public TimeSpan Delay
/// The maximum permissible delay between retry attempts.
/// </summary>
///
///
/// <value>The default maximum delay is 60 seconds.</value>
///
public TimeSpan MaxDelay
{
get => _maxDelay;
Expand All @@ -83,6 +92,9 @@ public TimeSpan MaxDelay
/// attempt or a retry.
/// </summary>
///
///
/// <value>The default timeout is 60 seconds.</value>
///
public TimeSpan TryTimeout
{
get => _tryTimeout;
Expand Down

0 comments on commit dc35567

Please sign in to comment.