Table of Contents

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

correlationId Guid

The correlation ID.

timeout TimeSpan

The timeout duration.

CorrelationTimeoutException(string)

Creates a new correlation timeout exception with a message.

public CorrelationTimeoutException(string message)

Parameters

message string

The exception message.

CorrelationTimeoutException(string, Exception)

Creates a new correlation timeout exception with a message and inner exception.

public CorrelationTimeoutException(string message, Exception innerException)

Parameters

message string

The exception message.

innerException Exception

The inner exception.

Properties

CorrelationId

Gets the correlation ID of the timed-out request.

public Guid CorrelationId { get; }

Property Value

Guid

TimeoutDuration

Gets the timeout duration that was exceeded.

public TimeSpan TimeoutDuration { get; }

Property Value

TimeSpan