Class InvalidCommandException
- Namespace
- OverKizApi.Exceptions
- Assembly
- OverKizApi.dll
Raised when a command sent to a device is not recognised by the gateway or device. Verify the command name and parameters against the device's Definition.
public class InvalidCommandException : BaseOverkizException, ISerializable, _Exception
- Inheritance
-
InvalidCommandException
- Implements
- Inherited Members
Remarks
Initialises a new instance with the specified error message.
Constructors
InvalidCommandException(string)
Raised when a command sent to a device is not recognised by the gateway or device. Verify the command name and parameters against the device's Definition.
public InvalidCommandException(string message)
Parameters
messagestringThe API error message, which typically includes the unknown command name.
Remarks
Initialises a new instance with the specified error message.