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



OpcLabs.BaseLib Assembly > OpcLabs.BaseLib.Communication Namespace > ConnectedConditionChangedEventArgs Class : ConnectionState Property
Indicates the state of the connection.
Syntax
'Declaration
 
Public Property ConnectionState As CommunicationConnectionState
'Usage
 
Dim instance As ConnectedConditionChangedEventArgs
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).

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