ISwitchV2CanWrite Method |
Namespace: ASCOM.DeviceInterface
| Exception | Condition |
|---|---|
| InvalidValueException | If id is outside the range 0 to MaxSwitch - 1 |
| NotConnectedException | If the device is not connected |
| DriverException | An error occurred that is not described by one of the more specific ASCOM exceptions. Include sufficient detail in the message text to enable the issue to be accurately diagnosed by someone other than yourself. |
Devices are numbered from 0 to MaxSwitch - 1
This is a Version 2 method, version 1 switch devices can be assumed to be writable.