RetryPolicies.Retry Method
Returns a retry policy that retries a specified number of times, with a specified fixed time interval between retries.
Namespace: Microsoft.WindowsAzure.StorageClient
Assembly: Microsoft.WindowsAzure.StorageClient (in Microsoft.WindowsAzure.StorageClient.dll)
Assembly: Microsoft.WindowsAzure.StorageClient (in Microsoft.WindowsAzure.StorageClient.dll)
public static RetryPolicy Retry ( int retryCount, TimeSpan intervalBetweenRetries )
public static function Retry ( retryCount : int, intervalBetweenRetries : TimeSpan ) : RetryPolicy
Parameters
- retryCount
Type: System.Int32
A non-negative number indicating the number of times to retry.
- intervalBetweenRetries
Type: System.TimeSpan
The time interval between retries. Use Zero to specify that the operation should be retried immediately.
Return Value
Type: Microsoft.WindowsAzure.StorageClient.RetryPolicyThe retry policy.
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Development Platforms
Windows Vista, Windows 7 and Windows Server 2008Target Platforms