Connectivity Software User's Guide and Reference
UAServiceException Constructor(String)



OpcLabs.EasyOpcUAPrimitives Assembly > OpcLabs.EasyOpc.UA Namespace > UAServiceException Class > UAServiceException Constructor : UAServiceException 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 error message.
Syntax
'Declaration
 
Public Function New( _
   ByVal message As String _
)
'Usage
 
Dim message As String
 
Dim instance As New UAServiceException(message)
public UAServiceException( 
   string message
)
public:
UAServiceException( 
   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