Editar

Compartilhar via


MsmqBindingBase.RetryCycleDelay Property

Definition

Gets or sets a value that indicates the time delay between retry cycles when attempting to deliver a message that cannot be delivered immediately.

public:
 property TimeSpan RetryCycleDelay { TimeSpan get(); void set(TimeSpan value); };
public TimeSpan RetryCycleDelay { get; set; }
member this.RetryCycleDelay : TimeSpan with get, set
Public Property RetryCycleDelay As TimeSpan

Property Value

The TimeSpan that specifies the interval of time to wait before starting the next cycle of delivery attempts to the receiving application. The default value is 10 minutes.

Remarks

A single retry cycle attempts to deliver a message to a receiving application a specified number of times. The number of attempts made is specified by the ReceiveRetryCount property. If the application fails to access the message after the specified number of immediate retries, the message is sent to a retry queue. Subsequent retry cycles consist of the message being returned from the retry queue to the application queue to attempt delivery to the application again, after a delay specified by the RetryCycleDelay. The number of retry cycles is specified by MaxRetryCycles.

Applies to