[This topic is part of the Microsoft Azure Storage Client Library 1.7, which has been deprecated. See
Storage Client Library for the latest version.]
A delegate that determines whether a request should be retried.
Namespace: Microsoft.WindowsAzure.StorageClient
Assembly: Microsoft.WindowsAzure.StorageClient (in Microsoft.WindowsAzure.StorageClient.dll)
Usage
Visual Basic |
---|
Dim instance As New ShouldRetry(AddressOf HandlerMethod) |
Syntax
Visual Basic |
---|
Public Delegate Function ShouldRetry ( _
retryCount As Integer, _
lastException As Exception, _
<OutAttribute> ByRef delay As TimeSpan _
) As Boolean |
C# |
---|
public delegate bool ShouldRetry (
int retryCount,
Exception lastException,
out TimeSpan delay
) |
C++ |
---|
public delegate bool ShouldRetry (
int retryCount,
Exception^ lastException,
[OutAttribute] TimeSpan% delay
) |
Platforms
See Also