IdeaBlade.Core Assembly > IdeaBlade.Core Namespace > IRetryPolicy Interface : ShouldRetry Method |
'Declaration
Function ShouldRetry( _ ByVal currentRetryCount As Integer, _ ByVal exception As Exception, _ ByRef delay As TimeSpan _ ) As Boolean
'Usage
Dim instance As IRetryPolicy Dim currentRetryCount As Integer Dim exception As Exception Dim delay As TimeSpan Dim value As Boolean value = instance.ShouldRetry(currentRetryCount, exception, delay)
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2