DevForce Help Reference
ShouldRetry Method (NoRetry)


Retry is never attempted when using this policy.
Syntax
'Declaration
 
Public Function ShouldRetry( _
   ByVal currentRetryCount As Integer, _
   ByVal exception As Exception, _
   ByRef delay As TimeSpan _
) As Boolean
'Usage
 
Dim instance As NoRetry
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

NoRetry Class
NoRetry Members

Send Feedback