Skip to main content

Class ModbusException

Exception thrown when a Modbus operation encounters an error.

Assembly: Meadow.Modbus.dll​
View Source​
Declaration
public class ModbusException : Exception, ISerializable

Inheritance: System.Object -> System.Exception

Implements:
System.Runtime.Serialization.ISerializable

Properties​

ErrorCode​

Gets the Modbus error code associated with the exception.

View Source​
Declaration
public ModbusErrorCode ErrorCode { get; }

Function​

Gets the Modbus function associated with the exception.

View Source​
Declaration
public ModbusFunction Function { get; }

Implements​

  • System.Runtime.Serialization.ISerializable