Reference
OpcTypes Members
Provides a set of static (Shared in Visual Basic) services to maintain different types used in the ecosystem of an OPC UA Server.
Reference
OpcTypes Members
- Type
- OpcTypes
- Namespace
- Opc.UaFx
- Assembly
- Opc.UaFx.Advanced.dll
- Package
- Opc.UaFx.Advanced v2.59.0
- Also in
- Opc.UaFx.Client
Methods
Register
| Overload | Description |
|---|---|
| Register( | Registers the types in the assembly specified. |
| Register( | Registers the types specified. |
| Register( | Registers the type and the further specified types. |
Register(Assembly)
Registers the types in the assembly specified.
public static void Register(Assembly assembly)Public Shared Sub Register(assembly As Assembly)Parameters
| Name | Type | Description |
|---|---|---|
assembly | Assembly | The Assembly its types are inspected regarding the OPC UA type specific characteristics and registers them accordingly. |
Exceptions
| Exception | Condition |
|---|---|
| Argument | The assembly is a null reference ( |
Register(IEnumerable<Type>)
Registers the types specified.
public static void Register(IEnumerable<Type> types)Public Shared Sub Register(types As IEnumerable(Of Type))Parameters
| Name | Type | Description |
|---|---|---|
types | IEnumerable<Type> | The sequence of Type instances to inspect regarding the OPC UA type specific characteristics and registers them accordingly. |
Exceptions
| Exception | Condition |
|---|---|
| Argument | The types is a null reference ( |
Remarks
Any null reference (Nothing in Visual Basic) in types is ignored.
Register(Type, params Type[])
Registers the type and the further specified types.
public static void Register(Type type, params Type[] types)Public Shared Sub Register(type As Type, ParamArray types As Type())Parameters
| Name | Type | Description |
|---|---|---|
type | Type | The Type instance to register. |
types | params Type[] | An array of Type instances to inspect regarding the OPC UA type specific characteristics and registers them accordingly. |
Exceptions
| Exception | Condition |
|---|---|
| Argument | The type or types is a null reference ( |
Remarks
Any null reference (Nothing in Visual Basic) in types is ignored.
Unregister
| Overload | Description |
|---|---|
| Unregister( | Unregisters the types in the assembly specified. |
| Unregister( | Unregisters the types specified. |
| Unregister( | Unregisters the type and the further specified types. |
Unregister(Assembly)
Unregisters the types in the assembly specified.
public static void Unregister(Assembly assembly)Public Shared Sub Unregister(assembly As Assembly)Parameters
| Name | Type | Description |
|---|---|---|
assembly | Assembly | The Assembly its types are unregistered accordingly. |
Exceptions
| Exception | Condition |
|---|---|
| Argument | The assembly is a null reference ( |
Unregister(IEnumerable<Type>)
Unregisters the types specified.
public static void Unregister(IEnumerable<Type> types)Public Shared Sub Unregister(types As IEnumerable(Of Type))Parameters
| Name | Type | Description |
|---|---|---|
types | IEnumerable<Type> | A sequence of Type instances to unregister them accordingly. |
Exceptions
| Exception | Condition |
|---|---|
| Argument | The types is a null reference ( |
Unregister(Type, params Type[])
Unregisters the type and the further specified types.
public static void Unregister(Type type, params Type[] types)Public Shared Sub Unregister(type As Type, ParamArray types As Type())Parameters
| Name | Type | Description |
|---|---|---|
type | Type | The Type instance to unregister. |
types | params Type[] | An array of Type instances to unregister them accordingly. |
Exceptions
| Exception | Condition |
|---|---|
| Argument | The type or types is a null reference ( |
Remarks
Any null reference (Nothing in Visual Basic) in types is ignored.
Events
DecodingFailed
Occurs when the decoding has failed.
public static event OpcTypeDecodingFailedEventHandler DecodingFailedPublic Shared Event DecodingFailed As OpcTypeDecodingFailedEventHandlerEvent type
OpcTypeDecodingFailedEventHandler
EncodingFailed
Occurs when the encoding has failed.
public static event OpcTypeEncodingFailedEventHandler EncodingFailedPublic Shared Event EncodingFailed As OpcTypeEncodingFailedEventHandlerEvent type

