Table of Contents

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

message string

The exception message.

MessageTimeoutException(string, Exception)

Initializes a new instance of the MessageTimeoutException class.

public MessageTimeoutException(string message, Exception innerException)

Parameters

message string

The exception message.

innerException Exception

The inner exception.

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

string

The current MessageId 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.