ShouldRetry Delegate

Storage Client Library NET API

[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
)
J#
JScript

Platforms

Development Platforms

Windows Vista, Windows 7, Windows Server 2008, Windows 8.1, Windows Server 2012 R2, Windows 8 and Windows Server 2012

See Also