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)
Usage
'Usage
Dim instance As New ShouldRetry(AddressOf HandlerMethod)
Syntax
'Declaration
Public Delegate Function ShouldRetry ( _
retryCount As Integer, _
lastException As Exception, _
<OutAttribute> ByRef delay As TimeSpan _
) As Boolean
public delegate bool ShouldRetry (
int retryCount,
Exception lastException,
out TimeSpan delay
)
public delegate bool ShouldRetry (
int retryCount,
Exception^ lastException,
[OutAttribute] TimeSpan% delay
)
/** @delegate */
public delegate boolean ShouldRetry (
int retryCount,
Exception lastException,
/** @attribute OutAttribute() */ /** @ref */ TimeSpan delay
)
Platforms
Development Platforms
Windows Vista, Windows 7, Windows Server 2008, Windows 8.1, Windows Server 2012 R2, Windows 8 and Windows Server 2012
Target Platforms
See Also
Reference
Microsoft.WindowsAzure.Common.TransientFaultHandling Namespace