QuickOPC User's Guide and Reference
OpcException Class
Members 



OpcLabs.EasyOpcClassic Assembly > OpcLabs.EasyOpc.OperationModel Namespace : OpcException Class
Exceptions arising from OPC operations.
Syntax
'Usage
 
Dim instance As OpcException
[CLSCompliant(true)]
[ComDefaultInterface(OpcLabs.EasyOpc.OperationModel.ComTypes._OpcException)]
[ComVisible(true)]
[Guid("852E50A5-46D1-46F6-8F03-361925E491CE")]
[TypeConverter(System.ComponentModel.ExpandableObjectConverter)]
[Serializable()]
public ref class OpcException sealed : public OpcLabs.BaseLib.OperationModel.OperationException, OpcLabs.BaseLib.ComTypes._Exception2, OpcLabs.BaseLib.OperationModel.ComTypes._OperationException, OpcLabs.EasyOpc.OperationModel.ComTypes._OpcException, System.Runtime.InteropServices._Exception, System.Runtime.Serialization.ISerializable  
Remarks
In general, you cannot safely prevent these exceptions from happening. Various conditions external to your code can cause OPC failures, e.g. network problems, improper OPC server configuration, etc. For this reason, you should always expect that an OPC operation can fail.
Inheritance Hierarchy

System.Object
   System.Exception
      System.ApplicationException
         OpcLabs.BaseLib.Exception2
            OpcLabs.BaseLib.OperationModel.OperationException
               OpcLabs.EasyOpc.OperationModel.OpcException

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

OpcException Members
OpcLabs.EasyOpc.OperationModel Namespace