QuickOPC User's Guide and Reference
OpcResultException Class
Members 



OpcLabs.EasyOpcClassic Assembly > OpcLabs.EasyOpc Namespace : OpcResultException Class
The exception that is thrown when an OPC Classic result (return value or an argument) was not expected for the requested operation.
Syntax
'Declaration
 
<ComDefaultInterfaceAttribute(OpcLabs.EasyOpc.ComTypes._OpcResultException)>
<ComVisibleAttribute(True)>
<GuidAttribute("13607FEE-F41A-40D7-B9AB-31DB3BF52315")>
<CLSCompliantAttribute(True)>
<TypeConverterAttribute(System.ComponentModel.ExpandableObjectConverter)>
<SerializableAttribute()>
Public Class OpcResultException 
   Inherits OpcLabs.BaseLib.Exception2
   Implements OpcLabs.BaseLib.ComTypes._Exception2, OpcLabs.EasyOpc.ComTypes._OpcResultException, System.Runtime.InteropServices._Exception, System.Runtime.Serialization.ISerializable 
'Usage
 
Dim instance As OpcResultException
[ComDefaultInterface(OpcLabs.EasyOpc.ComTypes._OpcResultException)]
[ComVisible(true)]
[Guid("13607FEE-F41A-40D7-B9AB-31DB3BF52315")]
[CLSCompliant(true)]
[TypeConverter(System.ComponentModel.ExpandableObjectConverter)]
[Serializable()]
public class OpcResultException : OpcLabs.BaseLib.Exception2, OpcLabs.BaseLib.ComTypes._Exception2, OpcLabs.EasyOpc.ComTypes._OpcResultException, System.Runtime.InteropServices._Exception, System.Runtime.Serialization.ISerializable  
[ComDefaultInterface(OpcLabs.EasyOpc.ComTypes._OpcResultException)]
[ComVisible(true)]
[Guid("13607FEE-F41A-40D7-B9AB-31DB3BF52315")]
[CLSCompliant(true)]
[TypeConverter(System.ComponentModel.ExpandableObjectConverter)]
[Serializable()]
public ref class OpcResultException : public OpcLabs.BaseLib.Exception2, OpcLabs.BaseLib.ComTypes._Exception2, OpcLabs.EasyOpc.ComTypes._OpcResultException, 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.OpcResultException

Requirements

Target Platforms: .NET Framework: Windows 10 (selected versions), Windows 11 (selected versions), Windows Server 2012, Windows Server 2016; .NET Core, .NET 5, .NET 6: Linux, macOS, Microsoft Windows

See Also

Reference

OpcResultException Members
OpcLabs.EasyOpc Namespace