RetryPolicy.GetNextRetryInterval(Exception, TimeSpan, Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the timespan for the next retry operation.
public TimeSpan? GetNextRetryInterval (Exception lastException, TimeSpan remainingTime, int retryCount);
member this.GetNextRetryInterval : Exception * TimeSpan * int -> Nullable<TimeSpan>
Public Function GetNextRetryInterval (lastException As Exception, remainingTime As TimeSpan, retryCount As Integer) As Nullable(Of TimeSpan)
Parameters
- lastException
- Exception
The last exception that was thrown
- remainingTime
- TimeSpan
Remaining time for the cumulative timeout
- retryCount
- Int32
Current retry count
Returns
Applies to
Berkolaborasi dengan kami di GitHub
Sumber untuk konten ini dapat ditemukan di GitHub, yang juga dapat Anda gunakan untuk membuat dan meninjau masalah dan menarik permintaan. Untuk informasi selengkapnya, lihat panduan kontributor kami.
Azure SDK for .NET