Connectivity Software User's Guide and Reference
ConnectionState Property (ConnectedCondition)



OpcLabs.BaseLib Assembly > OpcLabs.BaseLib.Communication Namespace > ConnectedCondition Class : ConnectionState Property
The connection state of this connected condition.
Syntax
'Declaration
 
Public Property ConnectionState As CommunicationConnectionState
'Usage
 
Dim instance As ConnectedCondition
Dim value As CommunicationConnectionState
 
instance.ConnectionState = value
 
value = instance.ConnectionState
public CommunicationConnectionState ConnectionState {get; set;}
public:
property CommunicationConnectionState ConnectionState {
   CommunicationConnectionState get();
   void set (    CommunicationConnectionState value);
}

Property Value

The default value of this property is Disconnected (CommunicationConnectionState.Disconnected).

Remarks

This method or property does not throw any exceptions, aside from execution exceptions such as System.Threading.ThreadAbortException or System.OutOfMemoryException.

Requirements

Target Platforms: .NET Framework: Windows 10 (selected versions), Windows 11 (selected versions), Windows Server 2016, Windows Server 2022; .NET: Linux, macOS, Microsoft Windows

See Also