Share via


ServiceBusRetryOptions.MaxRetries Property

Definition

The maximum number of retry attempts before considering the associated operation to have failed.

public int MaxRetries { get; set; }
member this.MaxRetries : int with get, set
Public Property MaxRetries As Integer

Property Value

The default retry limit is 3.

Exceptions

Occurs when the requested number of retries is not between 0 and 100 (inclusive).

Applies to