Creates a new DriverAccessCOException

Namespace: ASCOM
Assembly: ASCOM.Exceptions (in ASCOM.Exceptions.dll) Version: 6.0.0.0 (6.1.1.2619)

Syntax

C#
public DriverAccessCOMException(
	string Message,
	int ErrorCode,
	Exception InnerException
)
Visual Basic
Public Sub New ( _
	Message As String, _
	ErrorCode As Integer, _
	InnerException As Exception _
)
Visual C++
public:
DriverAccessCOMException(
	String^ Message, 
	int ErrorCode, 
	Exception^ InnerException
)

Parameters

Message
Type: System..::..String
The error message to display
ErrorCode
Type: System..::..Int32
The COM error code to attach to this exception
InnerException
Type: System..::..Exception
Any inner exception that is to be attached to the exception, or null if there is no inner exception

See Also