Namespace: Opc.UaFx
Assemblies: Opc.UaFx.Advanced.dll, Opc.UaFx.Advanced.dll
The OpcTypeResolveEventArgs type exposes the following members.
Initializes a new instance of the OpcTypeResolveEventArgs using the typeId
of the Type to resolve.
C#
public OpcTypeResolveEventArgs(OpcNodeId typeId)
Parameters
typeId
OpcNodeId
The OpcNodeId of the Type to resolve.
Exceptions
The typeId
is a null reference (Nothing in Visual Basic).
Initializes a new instance of the OpcTypeResolveEventArgs using the typeId
and encoding
of the Type to resolve.
C#
public OpcTypeResolveEventArgs(OpcNodeId typeId, OpcEncoding encoding)
Parameters
typeId
OpcNodeId
The OpcNodeId of the Type to resolve.
encoding
OpcEncoding
The OpcEncoding the Type to resolve have to support.
Exceptions
The typeId
or encoding
is a null reference (Nothing in Visual Basic).
Gets the encoding which is to be supported by the Type to resolve.
C#
public OpcEncoding Encoding { get; }
Property 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.
Gets or sets the Type which has been resolved by one of the event handlers using the TypeId and Encoding specified.
C#
public Type ResolvedType { get; set; }
Property 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).