Class ExecutionRejectedException
- Namespace
- Polly
- Assembly
- Polly.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.
public ExecutionRejectedException()
ExecutionRejectedException(SerializationInfo, StreamingContext)
Initializes a new instance of the ExecutionRejectedException class.
protected ExecutionRejectedException(SerializationInfo info, StreamingContext context)
Parameters
info
SerializationInfoThe SerializationInfo that holds the serialized object data about the exception being thrown.
context
StreamingContextThe 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
stringThe message that describes the error.
ExecutionRejectedException(string, Exception)
Initializes a new instance of the ExecutionRejectedException class.
public ExecutionRejectedException(string message, Exception inner)