FixedInterval Constructor (String, Int32, TimeSpan, Boolean)
Initializes a new instance of the FixedInterval class with the specified number of retry attempts, time interval, retry strategy, and fast start option.
Namespace: Microsoft.WindowsAzure.Common.TransientFaultHandling
Assembly: Microsoft.WindowsAzure.Common (in Microsoft.WindowsAzure.Common.dll)
Syntax
public FixedInterval(
string name,
int retryCount,
TimeSpan retryInterval,
bool firstFastRetry
)
public:
FixedInterval(
String^ name,
int retryCount,
TimeSpan retryInterval,
bool firstFastRetry
)
new :
name:string *
retryCount:int *
retryInterval:TimeSpan *
firstFastRetry:bool -> FixedInterval
Public Sub New (
name As String,
retryCount As Integer,
retryInterval As TimeSpan,
firstFastRetry As Boolean
)
Parameters
name
Type: System.StringThe retry strategy name.
retryCount
Type: System.Int32The number of retry attempts.
retryInterval
Type: System.TimeSpanThe time interval between retries.
firstFastRetry
Type: System.Booleantrue to immediately retry in the first attempt; otherwise, false. The subsequent retries will remain subject to the configured retry interval.
See Also
FixedInterval Overload
FixedInterval Class
Microsoft.WindowsAzure.Common.TransientFaultHandling Namespace
Return to top