Skip to content

Reference

IOpcRegisterNodesService Members

Defines a specialized IOpcService<TResponse, TRequest> which can be used to register one or more nodes for optimized node access.

Reference

IOpcRegisterNodesService Members ​

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

Inherits members from IOpcService<OpcRegisterNodesResponse, OpcRegisterNodesRequest>.

Methods ​

RegisterNodes ​

2 overloads

OverloadDescription
RegisterNodes(IEnumerable<OpcRegisterNode>)Registers one or more nodes for optimized node access using the specified commands.
RegisterNodes(params OpcRegisterNode[])Registers one or more nodes for optimized node access using the specified commands.

Known results: BadNodeIdInvalid

Exceptions (all overloads)

ExceptionCondition
ArgumentNullExceptionThe commands sequence or one of its items is a null reference (Nothing in Visual Basic).
InvalidOperationExceptionThe register nodes service is currently not supported, especially using the commands specified.
OpcExceptionThe service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo and BadTooManyMatches.

RegisterNodes(IEnumerable<OpcRegisterNode>) ​

Registers one or more nodes for optimized node access using the specified commands.

csharp
OpcNodeIdCollection RegisterNodes(IEnumerable<OpcRegisterNode> commands)
vbnet
Function RegisterNodes(
    commands As IEnumerable(Of OpcRegisterNode)) As OpcNodeIdCollection

Parameters

NameTypeDescription
commandsIEnumerable<OpcRegisterNode>A sequence of OpcRegisterNode instances to process.

Returns

OpcNodeIdCollection

A collection of OpcNodeId instances its number and order of items matches the number and order of items in the commands sequence. There is for each command one entry which stores the node identifier requested by that command to use to access the node registered for optimized node access.

Remarks

Servers completely reject register nodes requests if any of the node identifiers passed are structurally invalid.

RegisterNodes(params OpcRegisterNode[]) ​

Registers one or more nodes for optimized node access using the specified commands.

csharp
OpcNodeIdCollection RegisterNodes(params OpcRegisterNode[] commands)
vbnet
Function RegisterNodes(
    ParamArray commands As OpcRegisterNode()) As OpcNodeIdCollection

Parameters

NameTypeDescription
commandsparams OpcRegisterNode[]An array of of OpcRegisterNode instances to process.

Returns

OpcNodeIdCollection

A collection of OpcNodeId instances its number and order of items matches the number and order of items in the commands sequence. There is for each command one entry which stores the node identifier requested by that command to use to access the node registered for optimized node access.

Remarks

Servers completely reject register nodes requests if any of the node identifiers passed are structurally invalid.