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



OpcLabs.EasyOpcUAPrimitives Assembly > OpcLabs.EasyOpc.UA Namespace > UAServiceException Class > UAServiceException Constructor : UAServiceException Constructor(UAServiceResult)
The service result that describes the OPC UA error.

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

Initializes a new instance of the class from an OPC UA service result.
Syntax
'Declaration
 
Public Function New( _
   ByVal serviceResult As UAServiceResult _
)
'Usage
 
Dim serviceResult As UAServiceResult
 
Dim instance As New UAServiceException(serviceResult)
public UAServiceException( 
   UAServiceResult serviceResult
)
public:
UAServiceException( 
   UAServiceResult^ serviceResult
)

Parameters

serviceResult
The service result that describes the OPC UA 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