QuickOPC User's Guide and Reference
UAServiceException Constructor(UAServiceResult,Exception)



OpcLabs.EasyOpcUA Assembly > OpcLabs.EasyOpc.UA Namespace > UAServiceException Class > UAServiceException Constructor : UAServiceException Constructor(UAServiceResult,Exception)
Service result.
Inner exception.
Initializes a new instance of the class from a service result, a corresponding original exception message, and an inner exception.
Syntax
'Declaration
 
Protected Function New( _
   ByVal serviceResult As UAServiceResult, _
   ByVal innerException As Exception _
)
'Usage
 
Dim serviceResult As UAServiceResult
Dim innerException As Exception
 
Dim instance As New UAServiceException(serviceResult, innerException)
protected UAServiceException( 
   UAServiceResult serviceResult,
   Exception innerException
)
protected:
UAServiceException( 
   UAServiceResult^ serviceResult,
   Exception^ innerException
)

Parameters

serviceResult
Service result.
innerException
Inner exception.
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