Share via


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

ServiceBusRetryOptions.MaxRetries 属性

定义

将关联的操作视为失败之前的最大重试次数。

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

属性值

默认重试限制为 3。

例外

当请求的重试次数不在 0 到 100 之间时发生, (包含) 。

适用于