ErrorCodesGetExceptionName Method
Return the ASCOM exception name that corresponds to a COM exception
Namespace: ASCOMAssembly: ASCOM.Exceptions (in ASCOM.Exceptions.dll) Version: 6.0.0.0 (7.0.9999.9999)
public static string GetExceptionName(
Exception exception
)
Public Shared Function GetExceptionName (
exception As Exception
) As String
- 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.
Supported in: 2.0