Class CorrelationTimeoutException
- Namespace
- DotCompute.Abstractions.Messaging
- Assembly
- DotCompute.Abstractions.dll
Exception thrown when a correlated request times out.
public sealed class CorrelationTimeoutException : TimeoutException, ISerializable
- Inheritance
-
CorrelationTimeoutException
- Implements
- Inherited Members
Constructors
CorrelationTimeoutException()
Creates a new correlation timeout exception.
public CorrelationTimeoutException()
CorrelationTimeoutException(Guid, TimeSpan)
Creates a new correlation timeout exception with correlation details.
public CorrelationTimeoutException(Guid correlationId, TimeSpan timeout)
Parameters
CorrelationTimeoutException(string)
Creates a new correlation timeout exception with a message.
public CorrelationTimeoutException(string message)
Parameters
messagestringThe exception message.
CorrelationTimeoutException(string, Exception)
Creates a new correlation timeout exception with a message and inner exception.
public CorrelationTimeoutException(string message, Exception innerException)
Parameters
Properties
CorrelationId
Gets the correlation ID of the timed-out request.
public Guid CorrelationId { get; }
Property Value
TimeoutDuration
Gets the timeout duration that was exceeded.
public TimeSpan TimeoutDuration { get; }