Reference
OpcClient.GetDataTypeSystem Method
Retrieves the system used to describe the data exchanged via OPC UA using the type of encoding configured by the client and supported by the endpdoint of the server connected to.
Reference
OpcClient.GetDataTypeSystem Method
- Type
- OpcClient
- Namespace
- Opc.UaFx.Client
- Assembly
- Opc.UaFx.Advanced.dll
- Package
- Opc.UaFx.Advanced v2.59.0
- Members
- OpcClient Members
- Also in
- Opc.UaFx.Client
Retrieves the system used to describe the data exchanged via OPC UA using the type of encoding configured by the client and supported by the endpdoint of the server connected to.
public OpcDataTypeSystem GetDataTypeSystem()Public Function GetDataTypeSystem() As OpcDataTypeSystemReturns
An instance of the OpcDataTypeSystem class which can be used to understand the structure of the data exchanged using a specific type of encoding (see OpcEncodingType).
Exceptions
| Exception | Condition |
|---|---|
| Invalid | The requested operation is currently not supported. |
| LicenseException | The license is expired. |
| Object | The object has been disposed of. |
| OpcException | The service execution failed upon different circumstances; for more details see exception details. |
Remarks
Querying the data type system may fail in case there MaxByteStringLength and MaxMessageSize are exceeded. The transport configuration needs to be adjusted to query larger type systems.
The OpcDataTypeSystem offered represents by default the data type system defined in address space of the server and its data type information is queried on-demand using different request operations. This "overhead" can be overcome using an offline stored OpcNodeSet which needs to be loaded and assigned to the NodeSet property of the current OpcClient.
In case there NodeSet property has been set to an instance of the OpcNodeSet class the offered OpcDataTypeSystem expresses the data type information contained in the NodeSet configured.

