你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

ServiceBusRetryOptions.TryTimeout Property

Definition

The maximum duration to wait for completion of a single attempt, whether the initial attempt or a retry.

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

Property Value

The default timeout is 60 seconds.

Exceptions

Occurs when the requested timeout is negative.

Occurs when the requested timeout is not between Zero and 1 hour (inclusive).

Applies to