OPC Studio User's Guide and Reference
Exception2 Class
Members 



OpcLabs.BaseLib Assembly > OpcLabs.BaseLib Namespace : Exception2 Class
A portable replacement for System.Exception. It is needed to introduce a common OpcLabs.BaseLib.ComTypes._Exception2 interface.
Syntax
'Declaration
 
<CLSCompliantAttribute(True)>
<ComDefaultInterfaceAttribute(OpcLabs.BaseLib.ComTypes._Exception2)>
<ComVisibleAttribute(True)>
<GuidAttribute("6F5DC50A-8843-453D-B93D-D5894ED37D39")>
<TypeConverterAttribute(System.ComponentModel.ExpandableObjectConverter)>
<SerializableAttribute()>
Public Class Exception2 
   Inherits System.ApplicationException
   Implements OpcLabs.BaseLib.ComTypes._Exception2, System.Runtime.InteropServices._Exception, System.Runtime.Serialization.ISerializable 
'Usage
 
Dim instance As Exception2
[CLSCompliant(true)]
[ComDefaultInterface(OpcLabs.BaseLib.ComTypes._Exception2)]
[ComVisible(true)]
[Guid("6F5DC50A-8843-453D-B93D-D5894ED37D39")]
[TypeConverter(System.ComponentModel.ExpandableObjectConverter)]
[Serializable()]
public class Exception2 : System.ApplicationException, OpcLabs.BaseLib.ComTypes._Exception2, System.Runtime.InteropServices._Exception, System.Runtime.Serialization.ISerializable  
[CLSCompliant(true)]
[ComDefaultInterface(OpcLabs.BaseLib.ComTypes._Exception2)]
[ComVisible(true)]
[Guid("6F5DC50A-8843-453D-B93D-D5894ED37D39")]
[TypeConverter(System.ComponentModel.ExpandableObjectConverter)]
[Serializable()]
public ref class Exception2 : public System.ApplicationException, OpcLabs.BaseLib.ComTypes._Exception2, System.Runtime.InteropServices._Exception, System.Runtime.Serialization.ISerializable  
Inheritance Hierarchy

System.Object
   System.Exception
      System.ApplicationException
         OpcLabs.BaseLib.Exception2
            OpcLabs.BaseLib.IncorrectPasswordException
            OpcLabs.BaseLib.LiveBinding.BindingException
            OpcLabs.BaseLib.MemberNotFoundException
            OpcLabs.BaseLib.NormalizedException
            OpcLabs.BaseLib.OperationModel.OperationException
            OpcLabs.BaseLib.ProcedureCallException
            OpcLabs.BaseLib.ResultException
            OpcLabs.EasyOpc.Engine.NetApiException
            OpcLabs.EasyOpc.OpcResultException
            OpcLabs.EasyOpc.UA.EasyUAEngineException
            OpcLabs.EasyOpc.UA.Engine.UAEngineException
            OpcLabs.EasyOpc.UA.InformationModel.UAModelClientException
            OpcLabs.EasyOpc.UA.InformationModel.UAModellingException
            OpcLabs.EasyOpc.UA.UAInvalidReferenceException
            OpcLabs.EasyOpc.UA.UAResultException
            OpcLabs.EasyOpc.UA.UAServiceException
            OpcLabs.EasyOpc.UA.UAStatusCodeException

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