This exception should be raised when an operation is attempted that requires communication with the device, but the device is disconnected.

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

Syntax

C#
[SerializableAttribute]
public class NotConnectedException : DriverException
Visual Basic
<SerializableAttribute> _
Public Class NotConnectedException _
	Inherits DriverException
Visual C++
[SerializableAttribute]
public ref class NotConnectedException : public DriverException

Inheritance Hierarchy

System..::..Object
  System..::..Exception
    ASCOM..::..DriverException
      ASCOM..::..NotConnectedException

See Also