AlpacaDeviceBaseClassConnected Property |
Set True to enable the link. Set False to disable the link.
You can also read the property to check whether it is connected.
Namespace: ASCOM.Alpaca.ClientsAssembly: ASCOM.Alpaca (in ASCOM.Alpaca.dll) Version: 2.1.0+15bd426746e14ecc59ad81c289f923331d1aae8b
Syntaxpublic bool Connected { get; set; }
Public Property Connected As Boolean
Get
Set
Property Value
Booleantrue if connected; otherwise,
false.
Implements
IAscomDeviceConnected
ExceptionsException | Condition |
---|
DriverException | An error occurred that is not described by one of the more specific ASCOM exceptions. Include sufficient detail in the message text to enable the issue to be accurately diagnosed by someone other than yourself. |
RemarksDrivers / Devices must not throw a NotConnectedException here, that exception is for use in other methods that require a connection in order to succeed.
See Also