Class ExecutionRejectedException
- Namespace
- Polly
- Assembly
- Polly.Core.dll
Exception thrown when a policy rejects execution of a delegate.
public abstract class ExecutionRejectedException : Exception, ISerializable
- Inheritance
-
ExecutionRejectedException
- Implements
- Derived
- Inherited Members
Constructors
ExecutionRejectedException()
Initializes a new instance of the ExecutionRejectedException class.
protected ExecutionRejectedException()
ExecutionRejectedException(string)
Initializes a new instance of the ExecutionRejectedException class.
protected ExecutionRejectedException(string message)
Parameters
message
stringThe message that describes the error.
ExecutionRejectedException(string, Exception)
Initializes a new instance of the ExecutionRejectedException class.
protected ExecutionRejectedException(string message, Exception inner)
Parameters
Properties
TelemetrySource
Gets the source of the strategy which has thrown the exception, if known.
public virtual ResilienceTelemetrySource? TelemetrySource { get; }