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
infoSerializationInfoThe SerializationInfo that holds the serialized object data about the exception being thrown.
contextStreamingContextThe 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
messagestringThe message that describes the error.
ExecutionRejectedException(string, Exception)
Initializes a new instance of the ExecutionRejectedException class.
public ExecutionRejectedException(string message, Exception inner)