OPC Studio User's Guide and Reference
ConnectedConditionChangedEventArgs Constructor(ConnectedCondition,ConnectedConditionStatistics)



OpcLabs.BaseLib Assembly > OpcLabs.BaseLib.Communication Namespace > ConnectedConditionChangedEventArgs Class > ConnectedConditionChangedEventArgs Constructor : ConnectedConditionChangedEventArgs Constructor(ConnectedCondition,ConnectedConditionStatistics)
The connection condition to copy from.

The value of this parameter cannot be null (Nothing in Visual Basic).

The related connected condition statistics.

The value of this parameter cannot be null (Nothing in Visual Basic).

Initializes a new instance of the class from another connected condition object.
Syntax
'Declaration
 
Public Function New( _
   ByVal connectedCondition As ConnectedCondition, _
   ByVal statistics As ConnectedConditionStatistics _
)
'Usage
 
Dim connectedCondition As ConnectedCondition
Dim statistics As ConnectedConditionStatistics
 
Dim instance As New ConnectedConditionChangedEventArgs(connectedCondition, statistics)
public ConnectedConditionChangedEventArgs( 
   ConnectedCondition connectedCondition,
   ConnectedConditionStatistics statistics
)
public:
ConnectedConditionChangedEventArgs( 
   ConnectedCondition^ connectedCondition,
   ConnectedConditionStatistics^ statistics
)

Parameters

connectedCondition
The connection condition to copy from.

The value of this parameter cannot be null (Nothing in Visual Basic).

statistics
The related connected condition statistics.

The value of this parameter cannot be null (Nothing in Visual Basic).

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