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
| Overload | Description |
|---|---|
| Opc | Initializes a new instance of the OpctypeId of the Type to resolve. |
| Opc | Initializes a new instance of the OpctypeId and encoding of the Type to resolve. |
OpcTypeResolveEventArgs(OpcNodeId)
Initializes a new instance of the OpcTypeResolveEventArgs using the typeId of the Type to resolve.
public OpcTypeResolveEventArgs(OpcNodeId typeId)Public Sub New(typeId As OpcNodeId)Parameters
| Name | Type | Description |
|---|---|---|
typeId | OpcNodeId | The OpcNodeId of the Type to resolve. |
Exceptions
| Exception | Condition |
|---|---|
| Argument | The typeId is a null reference ( |
OpcTypeResolveEventArgs(OpcNodeId, OpcEncoding)
Initializes a new instance of the OpcTypeResolveEventArgs using the typeId and encoding of the Type to resolve.
public OpcTypeResolveEventArgs(OpcNodeId typeId, OpcEncoding encoding)Public Sub New(typeId As OpcNodeId, encoding As OpcEncoding)Parameters
| Name | Type | Description |
|---|---|---|
typeId | OpcNodeId | The OpcNodeId of the Type to resolve. |
encoding | OpcEncoding | The OpcEncoding the Type to resolve have to support. |
Exceptions
| Exception | Condition |
|---|---|
| Argument | The typeId or encoding is a null reference ( |
Properties
Encoding
Gets the encoding which is to be supported by the Type to resolve.
public OpcEncoding Encoding { get; }Public ReadOnly Property Encoding As OpcEncodingProperty value
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.
public Type ResolvedType { get; set; }Public Property ResolvedType As TypeProperty value
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.
public OpcNodeId TypeId { get; }Public ReadOnly Property TypeId As OpcNodeIdProperty value
An instance of the OpcNodeId which identifies the Type to resolve.

