Create a new exception

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

Syntax

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

Parameters

message
Type: System..::..String
Exception description
inner
Type: System..::..Exception
Underlying exception that caused this exception to be thrown.

See Also