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

message string

ExecutionRejectedException(string, Exception?)

Initializes a rejection with no retry estimate and a cause.

protected ExecutionRejectedException(string message, Exception? innerException)

Parameters

message string
innerException Exception

ExecutionRejectedException(string, TimeSpan?, Exception?)

Initializes a rejection with an optional retry estimate and cause.

protected ExecutionRejectedException(string message, TimeSpan? retryAfter, Exception? innerException = null)

Parameters

message string
retryAfter TimeSpan?
innerException Exception

Properties

RetryAfter

Estimated time until execution may be attempted again, when known.

public TimeSpan? RetryAfter { get; }

Property Value

TimeSpan?