Class TimeoutExceededException

Namespace
Kevlar
Assembly
Kevlar.dll

Thrown when a timeout strategy cancels an execution that exceeded its allotted time.

public sealed class TimeoutExceededException : KevlarException, ISerializable
Inheritance
TimeoutExceededException
Implements
Inherited Members

Constructors

TimeoutExceededException()

Initializes a timeout exception without a recorded timeout.

public TimeoutExceededException()

TimeoutExceededException(string)

Initializes a timeout exception with a custom message.

public TimeoutExceededException(string message)

Parameters

message string

TimeoutExceededException(string, Exception)

Initializes a timeout exception with a custom message and cause.

public TimeoutExceededException(string message, Exception innerException)

Parameters

message string
innerException Exception

TimeoutExceededException(TimeSpan)

Initializes the exception for the given timeout.

public TimeoutExceededException(TimeSpan timeout)

Parameters

timeout TimeSpan

TimeoutExceededException(TimeSpan, OperationCanceledException)

Initializes the exception for the given timeout and triggering cancellation.

public TimeoutExceededException(TimeSpan timeout, OperationCanceledException innerException)

Parameters

timeout TimeSpan
innerException OperationCanceledException

Properties

Timeout

The timeout that was exceeded.

public TimeSpan Timeout { get; }

Property Value

TimeSpan