RetryPolicy<T> Constructor (Int32, TimeSpan)
Initializes a new instance of the RetryPolicy<T> class with the specified number of retry attempts and a fixed time interval between retries.
Namespace: Microsoft.WindowsAzure.Common.TransientFaultHandling
Assembly: Microsoft.WindowsAzure.Common (in Microsoft.WindowsAzure.Common.dll)
Syntax
public RetryPolicy(
int retryCount,
TimeSpan retryInterval
)
public:
RetryPolicy(
int retryCount,
TimeSpan retryInterval
)
new :
retryCount:int *
retryInterval:TimeSpan -> RetryPolicy
Public Sub New (
retryCount As Integer,
retryInterval As TimeSpan
)
Parameters
retryCount
Type: System.Int32The number of retry attempts.
retryInterval
Type: System.TimeSpanThe interval between retries.
See Also
RetryPolicy<T> Overload
RetryPolicy<T> Class
Microsoft.WindowsAzure.Common.TransientFaultHandling Namespace
Return to top