Reference
OpcException Class
The exception that is thrown when an OPC operation has failed.
Reference
OpcException Class
- Namespace
- Opc.UaFx
- Assembly
- Opc.UaFx.Advanced.dll
- Package
- Opc.UaFx.Advanced v2.59.0
- Members
- OpcException Members
- Also in
- Opc.UaFx.Client
The exception that is thrown when an OPC operation has failed.
Syntax
csharp
public class OpcException : Exceptionvbnet
Public Class OpcException
Inherits ExceptionInheritance
Object → Exception → OpcException
Implements
Constructors
| Name | Description |
|---|---|
| OpcException | Initializes a new instance of the OpcException class with default properties. |
Properties
| Name | Description |
|---|---|
| Code | Gets the according OpcStatusCode for the ErrorCode. |
| Context | Gets the OpcContext which was in use while the current OpcException was generated. |
| Data | Gets a collection of key/value pairs that provide additional user-defined information about the exception. |
| ErrorCode | Gets the error code of the OpcException. |
| HelpLink | Gets or sets a link to the help file associated with this exception. |
| Message | Gets a message that describes the current exception. |
| Result | Gets the result information associated with the exception. |
| Source | Gets or sets the name of the application or the object that causes the error. |
| StackTrace | Gets a string representation of the immediate frames on the call stack. |
Methods
| Name | Description |
|---|---|
| GetBaseException | Returns the System. |
| GetObjectData | Sets the Serialization |
| ToString | Creates and returns a string representation of the exception. |
Inherits members from Exception.
Applies to
| Package | Versions |
|---|---|
| Opc. | v2. |

