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



OpcLabs.EasyOpcClassic Assembly > OpcLabs.EasyOpc.Engine Namespace > NetApiException Class > NetApiException Constructor : NetApiException Constructor(String)
The error message that explains the reason for the exception.

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

Initializes a new instance of the class with a specified message.
Syntax
'Declaration
 
Public Function New( _
   ByVal message As String _
)
'Usage
 
Dim message As String
 
Dim instance As New NetApiException(message)
public NetApiException( 
   string message
)
public:
NetApiException( 
   String^ message
)

Parameters

message
The error message that explains the reason for the exception.

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