AlpacaToolsGetErrrorMessage Method
Alpaca Extension - Extracts the error message from a byte array returned by an Alpaca device.
Namespace: ASCOM.Common.AlpacaAssembly: ASCOM.Common (in ASCOM.Common.dll) Version: 3.0.0-rc.1+86c25ce733aebb4d8b1b8a62e84770ea5e972bea
public static string GetErrrorMessage(
this byte[] errorMessageBytes
)
<ExtensionAttribute>
Public Shared Function GetErrrorMessage (
errorMessageBytes As Byte()
) As String
- errorMessageBytes Byte
- The byte array from which to extract the error message.
StringThe error message as a string.In Visual Basic and C#, you can call this method as an instance method on any object of type
Byte. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).
Supported in: 2.0