public class DateTimeResponse : Response,
IValueResponse<DateTime>, IResponse, IErrorResponsePublic Class DateTimeResponse
Inherits Response
Implements IValueResponse(Of DateTime), IResponse,
IErrorResponse| DateTimeResponse | Create a new DateTimeResponse with default values |
| DateTimeResponse(UInt32, UInt32, DateTime) | Create a new DateTimeResponse with the supplied parameter values |
| DateTimeResponse(UInt32, UInt32, String, AlpacaErrors) | Create a new DateTimeResponse with the supplied parameter values |
| ClientTransactionID |
Client's transaction ID (0 to 4294967295), as supplied by the client in the command request.
(Inherited from Response) |
| DriverException |
Optional field for Windows drivers to return an exception to the client application.
(Inherited from ErrorResponse) |
| ErrorMessage |
Empty string for a successful transaction, or a message describing the issue that was encountered. If an error message is returned,
a non zero ErrorNumber must also be returned.
(Inherited from ErrorResponse) |
| ErrorNumber |
Zero for a successful transaction, or a non-zero integer(-2147483648 to 2147483647) if the device encountered an issue.Devices must use ASCOM reserved error
numbers whenever appropriate so that clients can take informed actions. E.g.returning 0x401 (1025) to indicate that an invalid value was received.
(Inherited from ErrorResponse) |
| ServerTransactionID |
Server's transaction ID (0 to 4294967295), should be unique for each client transaction so that log messages on the client can be associated with logs on the device.
(Inherited from Response) |
| Value | Boolean value returned by the device |
| ToString |
Return the value as a string
(Overrides ObjectToString) |
| Exception |
This extension gets an ASCOM driver exception from a response
(Defined by ExceptionHelpers) |