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

ExponentialRetry 构造函数

定义

重载

ExponentialRetry()

初始化 ExponentialRetry 类的新实例。

ExponentialRetry(TimeSpan, Int32)

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

ExponentialRetry()

初始化 ExponentialRetry 类的新实例。

public ExponentialRetry ();
Public Sub New ()

适用于

ExponentialRetry(TimeSpan, Int32)

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

public ExponentialRetry (TimeSpan deltaBackoff, int maxAttempts);
new Microsoft.Azure.Storage.RetryPolicies.ExponentialRetry : TimeSpan * int -> Microsoft.Azure.Storage.RetryPolicies.ExponentialRetry
Public Sub New (deltaBackoff As TimeSpan, maxAttempts As Integer)

参数

deltaBackoff
TimeSpan

一个 TimeSpan,指定重试的退让间隔。

maxAttempts
Int32

一个指定最大重试尝试次数的整数。

适用于