次の方法で共有


NoRetry.ShouldRetry(Int32, Exception, TimeSpan) メソッド

定義

再試行しないポリシー

public bool ShouldRetry (int currentRetryCount, Exception lastException, out TimeSpan retryInterval);
abstract member ShouldRetry : int * Exception * TimeSpan -> bool
override this.ShouldRetry : int * Exception * TimeSpan -> bool
Public Function ShouldRetry (currentRetryCount As Integer, lastException As Exception, ByRef retryInterval As TimeSpan) As Boolean

パラメーター

currentRetryCount
Int32

現在の再試行回数です。

lastException
Exception

最後の例外。

retryInterval
TimeSpan

再試行間隔。

戻り値

再試行するかどうか

実装

適用対象