C# Class NServiceBus.DelayedRetriesSettings

Configuration settings for Delayed Retries.
Inheritance: ExposeSettings
Show file Open project: Particular/NServiceBus

Public Methods

Method Description
NumberOfRetries ( int numberOfRetries ) : DelayedRetriesSettings

Configures the number of times a message should be retried with a delay after failing Immediate Retries.

TimeIncrease ( System.TimeSpan timeIncrease ) : DelayedRetriesSettings

Configures the delay interval increase for each failed Delayed Retries attempt.

Private Methods

Method Description
DelayedRetriesSettings ( SettingsHolder settings ) : System

Method Details

NumberOfRetries() public method

Configures the number of times a message should be retried with a delay after failing Immediate Retries.
public NumberOfRetries ( int numberOfRetries ) : DelayedRetriesSettings
numberOfRetries int
return DelayedRetriesSettings

TimeIncrease() public method

Configures the delay interval increase for each failed Delayed Retries attempt.
public TimeIncrease ( System.TimeSpan timeIncrease ) : DelayedRetriesSettings
timeIncrease System.TimeSpan
return DelayedRetriesSettings