Skip to content

Reference

OpcClient.UnregisterNodes Method

Unregisters one or more nodes to not longer optimize their node access using the specified commands.

Reference

OpcClient.UnregisterNodes Method ​

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

4 overloads · since v2.8

OverloadDescription
UnregisterNodes(IEnumerable<OpcUnregisterNode>)since v2.8Unregisters one or more nodes to not longer optimize their node access using the specified commands.
UnregisterNodes(params OpcUnregisterNode[])since v2.8Unregisters one or more nodes to not longer optimize their node access using the specified commands.
UnregisterNodes(IEnumerable<OpcNodeId>)since v2.8Unregisters one or more nodes to not longer optimize their node access using the identifiers of the nodes.
UnregisterNodes(params OpcNodeId[])since v2.8Unregisters one or more nodes to not longer optimize their node access using the identifiers of the nodes.

Exceptions (all overloads)

ExceptionCondition
ObjectDisposedExceptionThe object has been disposed of.

UnregisterNodes(IEnumerable<OpcUnregisterNode>) ​

since v2.8

Unregisters one or more nodes to not longer optimize their node access using the specified commands.

csharp
public void UnregisterNodes(IEnumerable<OpcUnregisterNode> commands)
vbnet
Public Sub UnregisterNodes(commands As IEnumerable(Of OpcUnregisterNode))

Parameters

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

Exceptions

ExceptionCondition
ArgumentNullExceptionThe commands sequence or one of its items is a null reference (Nothing in Visual Basic).
InvalidOperationExceptionThe unregister 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.

UnregisterNodes(params OpcUnregisterNode[]) ​

since v2.8

Unregisters one or more nodes to not longer optimize their node access using the specified commands.

csharp
public void UnregisterNodes(params OpcUnregisterNode[] commands)
vbnet
Public Sub UnregisterNodes(ParamArray commands As OpcUnregisterNode())

Parameters

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

Exceptions

ExceptionCondition
ArgumentNullExceptionThe commands sequence or one of its items is a null reference (Nothing in Visual Basic).
InvalidOperationExceptionThe unregister 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.

UnregisterNodes(IEnumerable<OpcNodeId>) ​

since v2.8

Unregisters one or more nodes to not longer optimize their node access using the identifiers of the nodes. The node access to once unregistered nodes is not longer optimized.

csharp
public void UnregisterNodes(IEnumerable<OpcNodeId> nodeIds)
vbnet
Public Sub UnregisterNodes(nodeIds As IEnumerable(Of OpcNodeId))

Parameters

NameTypeDescription
nodeIdsIEnumerable<OpcNodeId>A sequence of OpcNodeId instances through that the nodes to unregister can be identified.

Exceptions

ExceptionCondition
ArgumentExceptionOne of the OpcNodeId instances in nodeIds is equals Null.
ArgumentNullExceptionThe nodeIds is a null reference (Nothing in Visual Basic).
InvalidOperationExceptionThe unregister node service is currently not supported, especially using the parameters specified.
OpcExceptionThe service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo and BadTooManyOperations.

UnregisterNodes(params OpcNodeId[]) ​

since v2.8

Unregisters one or more nodes to not longer optimize their node access using the identifiers of the nodes. The node access to once unregistered nodes is not longer optimized.

csharp
public void UnregisterNodes(params OpcNodeId[] nodeIds)
vbnet
Public Sub UnregisterNodes(ParamArray nodeIds As OpcNodeId())

Parameters

NameTypeDescription
nodeIdsparams OpcNodeId[]An array of OpcNodeId instances through that the nodes to unregister can be identified.

Exceptions

ExceptionCondition
ArgumentExceptionOne of the OpcNodeId instances in nodeIds is equals Null.
ArgumentNullExceptionThe nodeIds is a null reference (Nothing in Visual Basic).
InvalidOperationExceptionThe unregister node service is currently not supported, especially using the parameters specified.
OpcExceptionThe service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo and BadTooManyOperations.