Skip to content

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 ​

static · 3 overloads

OverloadDescription
Register(Assembly)staticRegisters the types in the assembly specified.
Register(IEnumerable<Type>)staticRegisters the types specified.
Register(Type, params Type[])staticRegisters the type and the further specified types.

Register(Assembly) ​

static

Registers the types in the assembly specified.

csharp
public static void Register(Assembly assembly)
vbnet
Public Shared Sub Register(assembly As Assembly)

Parameters

NameTypeDescription
assemblyAssemblyThe Assembly its types are inspected regarding the OPC UA type specific characteristics and registers them accordingly.

Exceptions

ExceptionCondition
ArgumentNullExceptionThe assembly is a null reference (Nothing in Visual Basic).

Register(IEnumerable<Type>) ​

static

Registers the types specified.

csharp
public static void Register(IEnumerable<Type> types)
vbnet
Public Shared Sub Register(types As IEnumerable(Of Type))

Parameters

NameTypeDescription
typesIEnumerable<Type>The sequence of Type instances to inspect regarding the OPC UA type specific characteristics and registers them accordingly.

Exceptions

ExceptionCondition
ArgumentNullExceptionThe types is a null reference (Nothing in Visual Basic).

Remarks

Any null reference (Nothing in Visual Basic) in types is ignored.

Register(Type, params Type[]) ​

static

Registers the type and the further specified types.

csharp
public static void Register(Type type, params Type[] types)
vbnet
Public Shared Sub Register(type As Type, ParamArray types As Type())

Parameters

NameTypeDescription
typeTypeThe Type instance to register.
typesparams Type[]An array of Type instances to inspect regarding the OPC UA type specific characteristics and registers them accordingly.

Exceptions

ExceptionCondition
ArgumentNullExceptionThe type or types is a null reference (Nothing in Visual Basic).

Remarks

Any null reference (Nothing in Visual Basic) in types is ignored.

Unregister ​

static · 3 overloads

OverloadDescription
Unregister(Assembly)staticUnregisters the types in the assembly specified.
Unregister(IEnumerable<Type>)staticUnregisters the types specified.
Unregister(Type, params Type[])staticUnregisters the type and the further specified types.

Unregister(Assembly) ​

static

Unregisters the types in the assembly specified.

csharp
public static void Unregister(Assembly assembly)
vbnet
Public Shared Sub Unregister(assembly As Assembly)

Parameters

NameTypeDescription
assemblyAssemblyThe Assembly its types are unregistered accordingly.

Exceptions

ExceptionCondition
ArgumentNullExceptionThe assembly is a null reference (Nothing in Visual Basic).

Unregister(IEnumerable<Type>) ​

static

Unregisters the types specified.

csharp
public static void Unregister(IEnumerable<Type> types)
vbnet
Public Shared Sub Unregister(types As IEnumerable(Of Type))

Parameters

NameTypeDescription
typesIEnumerable<Type>A sequence of Type instances to unregister them accordingly.

Exceptions

ExceptionCondition
ArgumentNullExceptionThe types is a null reference (Nothing in Visual Basic).

Unregister(Type, params Type[]) ​

static

Unregisters the type and the further specified types.

csharp
public static void Unregister(Type type, params Type[] types)
vbnet
Public Shared Sub Unregister(type As Type, ParamArray types As Type())

Parameters

NameTypeDescription
typeTypeThe Type instance to unregister.
typesparams Type[]An array of Type instances to unregister them accordingly.

Exceptions

ExceptionCondition
ArgumentNullExceptionThe type or types is a null reference (Nothing in Visual Basic).

Remarks

Any null reference (Nothing in Visual Basic) in types is ignored.

Events ​

DecodingFailed ​

static

Occurs when the decoding has failed.

csharp
public static event OpcTypeDecodingFailedEventHandler DecodingFailed
vbnet
Public Shared Event DecodingFailed As OpcTypeDecodingFailedEventHandler

Event type

OpcTypeDecodingFailedEventHandler

EncodingFailed ​

static

Occurs when the encoding has failed.

csharp
public static event OpcTypeEncodingFailedEventHandler EncodingFailed
vbnet
Public Shared Event EncodingFailed As OpcTypeEncodingFailedEventHandler

Event type

OpcTypeEncodingFailedEventHandler