Table of Contents

Class ExecutionRejectedException

Namespace
Polly
Assembly
Polly.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.

public ExecutionRejectedException()

ExecutionRejectedException(SerializationInfo, StreamingContext)

Initializes a new instance of the ExecutionRejectedException class.

protected ExecutionRejectedException(SerializationInfo info, StreamingContext context)

Parameters

info SerializationInfo

The SerializationInfo that holds the serialized object data about the exception being thrown.

context StreamingContext

The StreamingContext that contains contextual information about the source or destination.

ExecutionRejectedException(string)

Initializes a new instance of the ExecutionRejectedException class.

public ExecutionRejectedException(string message)

Parameters

message string

The message that describes the error.

ExecutionRejectedException(string, Exception)

Initializes a new instance of the ExecutionRejectedException class.

public ExecutionRejectedException(string message, Exception inner)

Parameters

message string

The message that describes the error.

inner Exception

The inner exception.