DevForce Help Reference
ShouldRetry Method (FixedRetry)


Returns true if the currentRetryCount is less than MaxTries.
Syntax
'Declaration
 
Public Function ShouldRetry( _
   ByVal currentRetryCount As Integer, _
   ByVal exception As Exception, _
   ByRef delay As TimeSpan _
) As Boolean
'Usage
 
Dim instance As FixedRetry
Dim currentRetryCount As Integer
Dim exception As Exception
Dim delay As TimeSpan
Dim value As Boolean
 
value = instance.ShouldRetry(currentRetryCount, exception, delay)

Parameters

currentRetryCount
exception
delay
Requirements

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

See Also

Reference

FixedRetry Class
FixedRetry Members

Send Feedback