<PackageReference Include="Polly.Core" Version="8.3.0" />

TimeoutRejectedException

Exception thrown when a delegate executed through a timeout resilience strategy does not complete, before the configured timeout.
public TimeSpan Timeout { get; }

Gets the timeout value that caused this exception.

Initializes a new instance of the TimeoutRejectedException class.

public TimeoutRejectedException(string message)

Initializes a new instance of the TimeoutRejectedException class.

public TimeoutRejectedException(string message, Exception innerException)

Initializes a new instance of the TimeoutRejectedException class.

Initializes a new instance of the TimeoutRejectedException class.

public TimeoutRejectedException(string message, TimeSpan timeout)

Initializes a new instance of the TimeoutRejectedException class.

public TimeoutRejectedException(string message, TimeSpan timeout, Exception innerException)

Initializes a new instance of the TimeoutRejectedException class.