Click or drag to resize

ErrorCodesGetExceptionName Method

Return the ASCOM exception name that corresponds to a COM exception

Namespace: ASCOM
Assembly: ASCOM.Exceptions (in ASCOM.Exceptions.dll) Version: 6.0.0.0 (6.6.9999.9999)
Syntax
public static string GetExceptionName(
	Exception exception
)

Parameters

exception  Exception
COM exception to examine

Return Value

String
The ASCOM name of the exception or null if the exception doesn't correspond to one of the ASCOM exceptions.
See Also