QueuesOptions.VisibilityTimeout Property

Definition

Gets or sets the default message visibility timeout that will be used for messages that fail processing. The default is TimeSpan.Zero. To increase the time delay between retries, increase this value.

public TimeSpan VisibilityTimeout { get; set; }
member this.VisibilityTimeout : TimeSpan with get, set
Public Property VisibilityTimeout As TimeSpan

Property Value

Remarks

When message processing fails, the message will remain in the queue and its visibility will be updated with this value. The message will then be available for reprocessing after this timeout expires.

Applies to