ErrorCodesGetExceptionName Method

Return the ASCOM exception name that corresponds to a COM exception

Definition

Namespace: ASCOM
Assembly: ASCOM.Exceptions (in ASCOM.Exceptions.dll) Version: 6.0.0.0 (7.0.9999.9999)
C#
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.

Version Information

.NET Standard

Supported in: 2.0

See Also