QuickOPC User's Guide and Reference
UAResultException Class
Members 



OpcLabs.EasyOpcUA Assembly > OpcLabs.EasyOpc.UA Namespace : UAResultException Class
The exception that is thrown when an OPC UA result (return value or an argument) was not expected for the requested operation.
Syntax
'Declaration
 
<ComDefaultInterfaceAttribute(OpcLabs.EasyOpc.UA.ComTypes._UAResultException)>
<ComVisibleAttribute(True)>
<GuidAttribute("B1E752EE-1C4D-49C8-BEE8-2A7219A47D25")>
<CLSCompliantAttribute(True)>
<TypeConverterAttribute(System.ComponentModel.ExpandableObjectConverter)>
<SerializableAttribute()>
Public Class UAResultException 
   Inherits OpcLabs.BaseLib.Exception2
   Implements OpcLabs.BaseLib.ComTypes._Exception2, OpcLabs.EasyOpc.UA.ComTypes._UAResultException, System.Runtime.InteropServices._Exception, System.Runtime.Serialization.ISerializable 
'Usage
 
Dim instance As UAResultException
[ComDefaultInterface(OpcLabs.EasyOpc.UA.ComTypes._UAResultException)]
[ComVisible(true)]
[Guid("B1E752EE-1C4D-49C8-BEE8-2A7219A47D25")]
[CLSCompliant(true)]
[TypeConverter(System.ComponentModel.ExpandableObjectConverter)]
[Serializable()]
public class UAResultException : OpcLabs.BaseLib.Exception2, OpcLabs.BaseLib.ComTypes._Exception2, OpcLabs.EasyOpc.UA.ComTypes._UAResultException, System.Runtime.InteropServices._Exception, System.Runtime.Serialization.ISerializable  
[ComDefaultInterface(OpcLabs.EasyOpc.UA.ComTypes._UAResultException)]
[ComVisible(true)]
[Guid("B1E752EE-1C4D-49C8-BEE8-2A7219A47D25")]
[CLSCompliant(true)]
[TypeConverter(System.ComponentModel.ExpandableObjectConverter)]
[Serializable()]
public ref class UAResultException : public OpcLabs.BaseLib.Exception2, OpcLabs.BaseLib.ComTypes._Exception2, OpcLabs.EasyOpc.UA.ComTypes._UAResultException, System.Runtime.InteropServices._Exception, System.Runtime.Serialization.ISerializable  
Remarks
This type is intentionally *not* derived from OpcLabs.BaseLib.ResultException, because it represents an exception in a different domain.
Inheritance Hierarchy

System.Object
   System.Exception
      System.ApplicationException
         OpcLabs.BaseLib.Exception2
            OpcLabs.EasyOpc.UA.UAResultException
               OpcLabs.EasyOpc.UA.UAMethodOutputException

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