Initializes a new instance of the DriverException class from another caught exception and a human-readable descriptinve message.

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

Syntax

C#
public DriverException(
	string message,
	Exception innerException
)
Visual Basic
Public Sub New ( _
	message As String, _
	innerException As Exception _
)
Visual C++
public:
DriverException(
	String^ message, 
	Exception^ innerException
)

Parameters

message
Type: System..::..String
The human-readable description of the problem.
innerException
Type: System..::..Exception
The caught (inner) exception.

See Also