OPC Studio User's Guide and Reference
ResultException Class
Members 



OpcLabs.BaseLib Assembly > OpcLabs.BaseLib Namespace : ResultException Class
The exception that is thrown when a method result (return value or an argument) is not valid.
Syntax
'Declaration
 
<ComDefaultInterfaceAttribute(OpcLabs.BaseLib.ComTypes._ResultException)>
<ComVisibleAttribute(True)>
<GuidAttribute("5A64CCF9-D9E8-41E7-8274-8BC3A8A6DE5F")>
<CLSCompliantAttribute(True)>
<TypeConverterAttribute(System.ComponentModel.ExpandableObjectConverter)>
<SerializableAttribute()>
Public Class ResultException 
   Inherits Exception2
   Implements OpcLabs.BaseLib.ComTypes._Exception2, OpcLabs.BaseLib.ComTypes._ResultException, System.Runtime.InteropServices._Exception, System.Runtime.Serialization.ISerializable 
'Usage
 
Dim instance As ResultException
[ComDefaultInterface(OpcLabs.BaseLib.ComTypes._ResultException)]
[ComVisible(true)]
[Guid("5A64CCF9-D9E8-41E7-8274-8BC3A8A6DE5F")]
[CLSCompliant(true)]
[TypeConverter(System.ComponentModel.ExpandableObjectConverter)]
[Serializable()]
public class ResultException : Exception2, OpcLabs.BaseLib.ComTypes._Exception2, OpcLabs.BaseLib.ComTypes._ResultException, System.Runtime.InteropServices._Exception, System.Runtime.Serialization.ISerializable  
[ComDefaultInterface(OpcLabs.BaseLib.ComTypes._ResultException)]
[ComVisible(true)]
[Guid("5A64CCF9-D9E8-41E7-8274-8BC3A8A6DE5F")]
[CLSCompliant(true)]
[TypeConverter(System.ComponentModel.ExpandableObjectConverter)]
[Serializable()]
public ref class ResultException : public Exception2, OpcLabs.BaseLib.ComTypes._Exception2, OpcLabs.BaseLib.ComTypes._ResultException, System.Runtime.InteropServices._Exception, System.Runtime.Serialization.ISerializable  
Remarks
Note the duality with System.ArgumentException.
Inheritance Hierarchy

System.Object
   System.Exception
      System.ApplicationException
         OpcLabs.BaseLib.Exception2
            OpcLabs.BaseLib.ResultException

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