IOpcRegisterNodesService Members

Namespace: Opc.UaFx.Services
Assemblies: Opc.UaFx.Advanced.dll, Opc.UaFx.Advanced.dll
The IOpcRegisterNodesService interface defines the following members.

RegisterNodes(IEnumerable<OpcRegisterNode>)

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

C#

OpcNodeIdCollection RegisterNodes(IEnumerable<OpcRegisterNode> commands)


Parameters

commands IEnumerable<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.



Exceptions

ArgumentNullException

The commands sequence or one of its items is a null reference (Nothing in Visual Basic).

InvalidOperationException

The register nodes service is currently not supported, especially using the commands specified.

OpcException

The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo and BadTooManyMatches.


Remarks

Known results for the commands specified are:

Status Description
BadNodeIdInvalid For more details see BadNodeIdInvalid.

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

RegisterNodes(OpcRegisterNode[])

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

C#

OpcNodeIdCollection RegisterNodes(params OpcRegisterNode[] commands)


Parameters

commands 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.



Exceptions

ArgumentNullException

The commands sequence or one of its items is a null reference (Nothing in Visual Basic).

InvalidOperationException

The register nodes service is currently not supported, especially using the commands specified.

OpcException

The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo and BadTooManyMatches.


Remarks

Known results for the commands specified are:

Status Description
BadNodeIdInvalid For more details see BadNodeIdInvalid.

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