OPC Studio User's Guide and Reference
OpcResultException Constructor(String)



OpcLabs.EasyOpcClassicCore Assembly > OpcLabs.EasyOpc Namespace > OpcResultException Class > OpcResultException Constructor : OpcResultException Constructor(String)
The message that describes the error.

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

Initializes a new instance of the class, specifying the error message.
Syntax
'Declaration
 
Public Function New( _
   ByVal message As String _
)
'Usage
 
Dim message As String
 
Dim instance As New OpcResultException(message)
public OpcResultException( 
   string message
)
public:
OpcResultException( 
   String^ message
)

Parameters

message
The message that describes the error.

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