Table of Contents

Class CvOperationTimeoutException

Namespace
CommandStation
Assembly
CommandStation.Abstractions.dll

Thrown when a safe CV programming operation does not complete within the caller-supplied timeout (for example, the decoder never acknowledges so the operation keeps retrying until the deadline).

public sealed class CvOperationTimeoutException : Exception, ISerializable
Inheritance
CvOperationTimeoutException
Implements
Inherited Members

Constructors

CvOperationTimeoutException(ushort, TimeSpan)

public CvOperationTimeoutException(ushort cvAddress, TimeSpan timeout)

Parameters

cvAddress ushort
timeout TimeSpan

Properties

CvAddress

The 0-based CV address the operation targeted (0 = CV1).

public ushort CvAddress { get; }

Property Value

ushort

Timeout

The timeout that elapsed before a result was received.

public TimeSpan Timeout { get; }

Property Value

TimeSpan