Connectivity Software User's Guide and Reference
ConnectedCondition Constructor(OperationResult,CommunicationConnectionState)



OpcLabs.BaseLib Assembly > OpcLabs.BaseLib.Communication Namespace > ConnectedCondition Class > ConnectedCondition Constructor : ConnectedCondition Constructor(OperationResult,CommunicationConnectionState)
The result of the operation that is associated with this condition.

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

The state of the connection associated with this condition.
Initializes a new instance of the ConnectedCondition class from the specified operation result and connection state.
Syntax
'Declaration
 
Public Function New( _
   ByVal operationResult As OperationResult, _
   ByVal connectionState As CommunicationConnectionState _
)
'Usage
 
Dim operationResult As OperationResult
Dim connectionState As CommunicationConnectionState
 
Dim instance As New ConnectedCondition(operationResult, connectionState)

Parameters

operationResult
The result of the operation that is associated with this condition.

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

connectionState
The state of the connection associated with this condition.
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