IObservingConditionsTimeSinceLastUpdate Method |
Namespace: ASCOM.DeviceInterface
Exception | Condition |
---|---|
MethodNotImplementedException | If the sensor is not implemented. |
InvalidValueException | If an invalid property name parameter is supplied. |
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. |
Must Not throw a MethodNotImplementedException when the specified sensor Is implemented but must throw a MethodNotImplementedException when the specified sensor Is Not implemented.
PropertyName must be the name of one of the sensor properties specified in the IObservingConditions interface. If the caller supplies some other value, throw an InvalidValueException.
Return a negative value to indicate that no valid value has ever been received from the hardware.
If an empty string is supplied as the PropertyName, the driver must return the time since the most recent update of any sensor. A MethodNotImplementedException must not be thrown in this circumstance.