Skip to content

Reference

OpcTypeResolveEventArgs Members

Provides the event data for events used to resolve missing Type information.

Reference

OpcTypeResolveEventArgs Members ​

Type
OpcTypeResolveEventArgs
Namespace
Opc.UaFx
Assembly
Opc.UaFx.Advanced.dll
Package
Opc.UaFx.Advanced v2.59.0
Also in
Opc.UaFx.Client

Inherits members from EventArgs.

Constructors ​

OpcTypeResolveEventArgs ​

2 overloads

OverloadDescription
OpcTypeResolveEventArgs(OpcNodeId)Initializes a new instance of the OpcTypeResolveEventArgs using the typeId of the Type to resolve.
OpcTypeResolveEventArgs(OpcNodeId, OpcEncoding)Initializes a new instance of the OpcTypeResolveEventArgs using the typeId and encoding of the Type to resolve.

OpcTypeResolveEventArgs(OpcNodeId) ​

Initializes a new instance of the OpcTypeResolveEventArgs using the typeId of the Type to resolve.

csharp
public OpcTypeResolveEventArgs(OpcNodeId typeId)
vbnet
Public Sub New(typeId As OpcNodeId)

Parameters

NameTypeDescription
typeIdOpcNodeIdThe OpcNodeId of the Type to resolve.

Exceptions

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

OpcTypeResolveEventArgs(OpcNodeId, OpcEncoding) ​

Initializes a new instance of the OpcTypeResolveEventArgs using the typeId and encoding of the Type to resolve.

csharp
public OpcTypeResolveEventArgs(OpcNodeId typeId, OpcEncoding encoding)
vbnet
Public Sub New(typeId As OpcNodeId, encoding As OpcEncoding)

Parameters

NameTypeDescription
typeIdOpcNodeIdThe OpcNodeId of the Type to resolve.
encodingOpcEncodingThe OpcEncoding the Type to resolve have to support.

Exceptions

ExceptionCondition
ArgumentNullExceptionThe typeId or encoding is a null reference (Nothing in Visual Basic).

Properties ​

Encoding ​

Gets the encoding which is to be supported by the Type to resolve.

csharp
public OpcEncoding Encoding { get; }
vbnet
Public ReadOnly Property Encoding As OpcEncoding

Property value

OpcEncoding

An instance of the OpcEncoding, if the kind of encoding is relevant or a null reference (Nothing in Visual Basic) if the Type to resolve does have to support a specific encoding.

ResolvedType ​

Gets or sets the Type which has been resolved by one of the event handlers using the TypeId and Encoding specified.

csharp
public Type ResolvedType { get; set; }
vbnet
Public Property ResolvedType As Type

Property value

Type

An instance of the Type class which has been resolved using the type metadata specified (TypeId and Encoding) or a null reference (Nothing in Visual Basic) in case there not yet a Type could be resolved by one of the event handlers registered.

Remarks

The event which uses the OpcTypeResolveEventArgs passes the event data to the event handlers in the order in which they have been registered in the invocation list of the event. As long ResolvedType is a null reference (Nothing in Visual Basic). Subsequent registered event handlers are not invoked as soon ResolvedType is not a null reference (Nothing in Visual Basic).

TypeId ​

Gets the identifier of the Type to resolve.

csharp
public OpcNodeId TypeId { get; }
vbnet
Public ReadOnly Property TypeId As OpcNodeId

Property value

OpcNodeId

An instance of the OpcNodeId which identifies the Type to resolve.