ErrorResponseDriverException Property

Optional field for Windows drivers to return an exception to the client application.

Definition

Namespace: ASCOM.Common.Alpaca
Assembly: ASCOM.Common (in ASCOM.Common.dll) Version: 3.0.0-rc.1+86c25ce733aebb4d8b1b8a62e84770ea5e972bea
C#
[JsonPropertyOrderAttribute(50)]
[JsonIgnoreAttribute(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public Exception DriverException { get; set; }

Property Value

Exception

Remarks

Populating this automatically sets the ErrorMessage and ErrorNumber fields; COM errors in the range 0x80040400 to 0x8040FFF are translated to equivalent Alpaca error numbers in the range 0x400 to 0xFFF.

Version Information

.NET Standard

Supported in: 2.0

See Also