TimeoutRejectedException
Exception thrown when a delegate executed through a TimeoutPolicy does not complete, before the configured timeout.
using System;
using System.Runtime.Serialization;
namespace Polly.Timeout
{
[Serializable]
public class TimeoutRejectedException : ExecutionRejectedException
{
public TimeoutRejectedException()
{
}
public TimeoutRejectedException(string message)
: base(message)
{
}
public TimeoutRejectedException(string message, Exception innerException)
: base(message, innerException)
{
}
protected TimeoutRejectedException(SerializationInfo info, StreamingContext context)
: base(info, context)
{
}
}
}