Class ExecutionRejectedException
- Namespace
- Kevlar
- Assembly
- Kevlar.dll
Base class for executions rejected by a Kevlar strategy.
public abstract class ExecutionRejectedException : KevlarException, ISerializable
- Inheritance
-
ExecutionRejectedException
- Implements
- Derived
- Inherited Members
Constructors
ExecutionRejectedException()
Initializes a rejection with no retry estimate.
protected ExecutionRejectedException()
ExecutionRejectedException(string)
Initializes a rejection with no retry estimate.
protected ExecutionRejectedException(string message)
Parameters
messagestring
ExecutionRejectedException(string, Exception?)
Initializes a rejection with no retry estimate and a cause.
protected ExecutionRejectedException(string message, Exception? innerException)
Parameters
ExecutionRejectedException(string, TimeSpan?, Exception?)
Initializes a rejection with an optional retry estimate and cause.
protected ExecutionRejectedException(string message, TimeSpan? retryAfter, Exception? innerException = null)
Parameters
Properties
RetryAfter
Estimated time until execution may be attempted again, when known.
public TimeSpan? RetryAfter { get; }