ShouldRetry Delegate
Defines a callback delegate that will be invoked whenever a retry condition is encountered.
Namespace: Microsoft.WindowsAzure.Common.TransientFaultHandling
Assembly: Microsoft.WindowsAzure.Common (in Microsoft.WindowsAzure.Common.dll)
Syntax
public delegate bool ShouldRetry(
int retryCount,
Exception lastException,
out TimeSpan delay
)
public delegate bool ShouldRetry(
int retryCount,
Exception^ lastException,
[OutAttribute] TimeSpan% delay
)
type ShouldRetry =
delegate of
retryCount:int *
lastException:Exception *
delay:TimeSpan byref -> bool
Public Delegate Function ShouldRetry (
retryCount As Integer,
lastException As Exception,
<OutAttribute> ByRef delay As TimeSpan
) As Boolean
Return Value
Type: System.Boolean
See Also
Microsoft.WindowsAzure.Common.TransientFaultHandling Namespace
Return to top