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

RetryPolicy.OnGetNextRetryInterval(Exception, TimeSpan, Int32, Int32) 方法

定义

protected abstract TimeSpan? OnGetNextRetryInterval (Exception lastException, TimeSpan remainingTime, int baseWaitTime, int retryCount);
abstract member OnGetNextRetryInterval : Exception * TimeSpan * int * int -> Nullable<TimeSpan>
Protected MustOverride Function OnGetNextRetryInterval (lastException As Exception, remainingTime As TimeSpan, baseWaitTime As Integer, retryCount As Integer) As Nullable(Of TimeSpan)

参数

lastException
Exception
remainingTime
TimeSpan
baseWaitTime
Int32
retryCount
Int32

返回

适用于