ExponentialBackoff Constructor (Int32, TimeSpan, TimeSpan, TimeSpan)
| Retired Content |
|---|
This content and the technology described is outdated and is no longer being maintained. For more information, see Transient Fault Handling. |
Initializes a new instance of the ExponentialBackoff class.
Namespace: Microsoft.Practices.TransientFaultHandlingAssembly: Microsoft.Practices.TransientFaultHandling.Core (in Microsoft.Practices.TransientFaultHandling.Core.dll) Version: 5.0.1118.0 (5.0.1118.0)
public: ExponentialBackoff( int retryCount, TimeSpan minBackoff, TimeSpan maxBackoff, TimeSpan deltaBackoff )
Parameters
- retryCount
- Type: System::Int32
The maximum number of retry attempts.
- minBackoff
- Type: System::TimeSpan
The minimum back-off time
- maxBackoff
- Type: System::TimeSpan
The maximum back-off time.
- deltaBackoff
- Type: System::TimeSpan
The value that will be used for calculating a random delta in the exponential delay between retries.
Show: