IotHubServiceNoRetry.ShouldRetry(UInt32, Exception, TimeSpan) メソッド

定義

再試行しないポリシー

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

パラメーター

currentRetryCount
UInt32

現在の再試行回数です。

lastException
Exception

最後の例外。

retryInterval
TimeSpan

再試行間隔。

戻り値

再試行するかどうか

実装

適用対象