C# Class Cinchcast.Roque.Core.ShouldRetryException

If a job throws this exception the Worker will retry.
Inheritance: System.Exception
Mostra file Open project: BlogTalkRadio/Roque Class Usage Examples

Public Methods

Method Description
ShouldRetryException ( System.TimeSpan delay, int maxTimes, Exception innerException ) : System

Creates a ShouldRetryException

Method Details

ShouldRetryException() public method

Creates a ShouldRetryException
public ShouldRetryException ( System.TimeSpan delay, int maxTimes, Exception innerException ) : System
delay System.TimeSpan A delay to wait for next retry
maxTimes int Maximum number of times to retry.
innerException System.Exception the error that caused the job to fail
return System