Share via


RetryStrategy Constructor

Initializes a new instance of the RetryStrategy class.

Namespace: Microsoft.WindowsAzure.Common.TransientFaultHandling
Assembly: Microsoft.WindowsAzure.Common (in Microsoft.WindowsAzure.Common.dll)

Usage

'Usage
Dim name As String
Dim firstFastRetry As Boolean

Dim instance As New RetryStrategy(name, firstFastRetry)

Syntax

'Declaration
Protected Sub New ( _
    name As String, _
    firstFastRetry As Boolean _
)
protected RetryStrategy (
    string name,
    bool firstFastRetry
)
protected:
RetryStrategy (
    String^ name, 
    bool firstFastRetry
)
protected RetryStrategy (
    String name, 
    boolean firstFastRetry
)
protected function RetryStrategy (
    name : String, 
    firstFastRetry : boolean
)

Parameters

  • name
    The name of the retry strategy.
  • firstFastRetry
    true to immediately retry in the first attempt; otherwise, false. The subsequent retries will remain subject to the configured retry interval.

Remarks

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

RetryStrategy Class
RetryStrategy Members
Microsoft.WindowsAzure.Common.TransientFaultHandling Namespace