Initializes a new instance of the NotConnectedException class with a non-default error message.

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

Syntax

C#
public NotConnectedException(
	string message
)
Visual Basic
Public Sub New ( _
	message As String _
)
Visual C++
public:
NotConnectedException(
	String^ message
)

Parameters

message
Type: System..::..String
A descriptive human-readable message.

See Also