ErrorCodesGetExceptionName Method
Return the ASCOM exception name that corresponds to a COM exception
Namespace: ASCOMAssembly: ASCOM.Exceptions (in ASCOM.Exceptions.dll) Version: 7.1.3+4851.c5da65c2b
public static string GetExceptionName(
Exception exception
)
Public Shared Function GetExceptionName (
exception As Exception
) As String
public:
static String^ GetExceptionName(
Exception^ exception
)
- exception Exception
- COM exception to examine
StringThe ASCOM name of the exception or null if the exception doesn't correspond to one of the ASCOM exceptions.