<PackageReference Include="Polly" Version="5.0.1-v5-0-alpha0001" />

ExecutionRejectedException

public abstract class ExecutionRejectedException : Exception
Exception thrown when a Policy rejects execution of a delegate. More specific exceptions which derive from this type, are generally thrown.
using System; using System.Runtime.Serialization; namespace Polly { public abstract class ExecutionRejectedException : Exception { public ExecutionRejectedException() { } public ExecutionRejectedException(string message) : base(message) { } public ExecutionRejectedException(string message, Exception inner) : base(message, inner) { } protected ExecutionRejectedException(SerializationInfo info, StreamingContext context) : base(info, context) { } } }