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 (6.6.9999.9999)
Syntaxpublic static string GetExceptionName(
Exception exception
)
Public Shared Function GetExceptionName (
exception As Exception
) As String
public:
static String^ GetExceptionName(
Exception^ exception
)
Parameters
- exception Exception
- COM exception to examine
Return Value
StringThe ASCOM name of the exception or null if the exception doesn't correspond to one of the ASCOM exceptions.
See Also