Class MessageTimeoutException
- Namespace
- Excalibur.Dispatch.Middleware.Timeout
- Assembly
- Excalibur.Dispatch.dll
Exception thrown when message processing times out.
public sealed class MessageTimeoutException : DispatchException, ISerializable
- Inheritance
-
MessageTimeoutException
- Implements
- Inherited Members
- Extension Methods
Constructors
MessageTimeoutException()
Initializes a new instance of the MessageTimeoutException class.
public MessageTimeoutException()
MessageTimeoutException(string)
Initializes a new instance of the MessageTimeoutException class.
public MessageTimeoutException(string message)
Parameters
messagestringThe exception message.
MessageTimeoutException(string, Exception)
Initializes a new instance of the MessageTimeoutException class.
public MessageTimeoutException(string message, Exception innerException)
Parameters
Properties
ElapsedTime
Gets or sets the actual elapsed time before timeout.
public TimeSpan ElapsedTime { get; set; }
Property Value
- TimeSpan
The current ElapsedTime value.
MessageId
Gets or sets the ID of the message that timed out.
public string? MessageId { get; set; }
Property Value
MessageType
Gets or sets the type name of the message that timed out.
public string? MessageType { get; set; }
Property Value
- string
The current MessageType value.
TimeoutDuration
Gets or sets the configured timeout duration.
public TimeSpan TimeoutDuration { get; set; }
Property Value
- TimeSpan
The current TimeoutDuration value.