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

LinearRetry(TimeSpan, Int32) 构造函数

定义

使用指定的增量和最大重试次数初始化 LinearRetry 类的新实例。

public LinearRetry (TimeSpan deltaBackoff, int maxRetries);
new Microsoft.Azure.Batch.Common.LinearRetry : TimeSpan * int -> Microsoft.Azure.Batch.Common.LinearRetry
Public Sub New (deltaBackoff As TimeSpan, maxRetries As Integer)

参数

deltaBackoff
TimeSpan

重试之间的退避间隔。

maxRetries
Int32

最大重试尝试次数。

适用于