Table of Contents

Class ExecutionRejectedException

Namespace
Polly
Assembly
Polly.Core.dll

Exception thrown when a policy rejects execution of a delegate. More specific exceptions which derive from this type, are generally thrown.

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 string

The message that describes the error.

ExecutionRejectedException(string, Exception)

Initializes a new instance of the ExecutionRejectedException class.

protected ExecutionRejectedException(string message, Exception inner)

Parameters

message string

The message that describes the error.

inner Exception

The inner exception.

Properties

TelemetrySource

Gets the source of the strategy which has thrown the exception, if known.

public virtual ResilienceTelemetrySource? TelemetrySource { get; }

Property Value

ResilienceTelemetrySource