Skip to content

Reference

OpcNodeServiceCommand Members

Provides an abstract base class for node orientated OPC UA services which at least require the OpcNodeId of a specific node to operate on.

Reference

OpcNodeServiceCommand Members ​

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

Inherits members from OpcServiceCommand.

Constructors ​

OpcNodeServiceCommand ​

protected · 16 overloads

OverloadDescription
OpcNodeServiceCommand(OpcNodeId)protectedInitializes a new instance of the OpcNodeServiceCommand class using the nodeId specified.
OpcNodeServiceCommand(byte[])protectedInitializes a new instance of the OpcNodeServiceCommand class using the nodeId specified.
OpcNodeServiceCommand(byte[], int)protectedInitializes a new instance of the OpcNodeServiceCommand class using the nodeId and namespaceIndex specified.
OpcNodeServiceCommand(byte[], OpcNamespace)protectedInitializes a new instance of the OpcNodeServiceCommand class using the nodeId and nodeNamespace specified.
OpcNodeServiceCommand(Guid)protectedInitializes a new instance of the OpcNodeServiceCommand class using the nodeId specified.
OpcNodeServiceCommand(Guid, int)protectedInitializes a new instance of the OpcNodeServiceCommand class using the nodeId and namespaceIndex specified.
OpcNodeServiceCommand(Guid, OpcNamespace)protectedInitializes a new instance of the OpcNodeServiceCommand class using the nodeId and nodeNamespace specified.
OpcNodeServiceCommand(int)protectedInitializes a new instance of the OpcNodeServiceCommand class using the nodeId specified.
OpcNodeServiceCommand(int, int)protectedInitializes a new instance of the OpcNodeServiceCommand class using the nodeId and namespaceIndex specified.
OpcNodeServiceCommand(int, OpcNamespace)protectedInitializes a new instance of the OpcNodeServiceCommand class using the nodeId and nodeNamespace specified.
OpcNodeServiceCommand(uint)protectedInitializes a new instance of the OpcNodeServiceCommand class using the nodeId specified.
OpcNodeServiceCommand(uint, int)protectedInitializes a new instance of the OpcNodeServiceCommand class using the nodeId and namespaceIndex specified.
OpcNodeServiceCommand(uint, OpcNamespace)protectedInitializes a new instance of the OpcNodeServiceCommand class using the nodeId and nodeNamespace specified.
OpcNodeServiceCommand(string)protectedInitializes a new instance of the OpcNodeServiceCommand class using the nodeId specified.
OpcNodeServiceCommand(string, int)protectedInitializes a new instance of the OpcNodeServiceCommand class using the nodeId and namespaceIndex specified.
OpcNodeServiceCommand(string, OpcNamespace)protectedInitializes a new instance of the OpcNodeServiceCommand class using the nodeId and nodeNamespace specified.

OpcNodeServiceCommand(OpcNodeId) ​

protected

Initializes a new instance of the OpcNodeServiceCommand class using the nodeId specified.

csharp
protected OpcNodeServiceCommand(OpcNodeId nodeId)
vbnet
Protected Sub New(nodeId As OpcNodeId)

Parameters

NameTypeDescription
nodeIdOpcNodeIdThe OpcNodeId of the node on which the service, who will execute this command, will operate.

Exceptions

ExceptionCondition
ArgumentExceptionThe command does not support empty node identifiers.
ArgumentNullExceptionThe nodeId is a null reference (Nothing in Visual Basic).

OpcNodeServiceCommand(byte[]) ​

protected

Initializes a new instance of the OpcNodeServiceCommand class using the nodeId specified.

csharp
protected OpcNodeServiceCommand(byte[] nodeId)
vbnet
Protected Sub New(nodeId As Byte())

Parameters

NameTypeDescription
nodeIdByte[]The opaque node identifier of the node on which the service, who will execute this command, will operate.

OpcNodeServiceCommand(byte[], int) ​

protected

Initializes a new instance of the OpcNodeServiceCommand class using the nodeId and namespaceIndex specified.

csharp
protected OpcNodeServiceCommand(byte[] nodeId, int namespaceIndex)
vbnet
Protected Sub New(nodeId As Byte(), namespaceIndex As Integer)

Parameters

NameTypeDescription
nodeIdByte[]The opaque node identifier of the node on which the service, who will execute this command, will operate.
namespaceIndexInt32The index of the namespace within that the node with the nodeId specified can be located.

OpcNodeServiceCommand(byte[], OpcNamespace) ​

protected

Initializes a new instance of the OpcNodeServiceCommand class using the nodeId and nodeNamespace specified.

csharp
protected OpcNodeServiceCommand(byte[] nodeId, OpcNamespace nodeNamespace)
vbnet
Protected Sub New(nodeId As Byte(), nodeNamespace As OpcNamespace)

Parameters

NameTypeDescription
nodeIdByte[]The opaque node identifier of the node on which the service, who will execute this command, will operate.
nodeNamespaceOpcNamespaceThe namespace within that the node with the nodeId specified can be located.

OpcNodeServiceCommand(Guid) ​

protected

Initializes a new instance of the OpcNodeServiceCommand class using the nodeId specified.

csharp
protected OpcNodeServiceCommand(Guid nodeId)
vbnet
Protected Sub New(nodeId As Guid)

Parameters

NameTypeDescription
nodeIdGuidThe general unique identifier (= GUID) of the node on which the service, who will execute this command, will operate.

OpcNodeServiceCommand(Guid, int) ​

protected

Initializes a new instance of the OpcNodeServiceCommand class using the nodeId and namespaceIndex specified.

csharp
protected OpcNodeServiceCommand(Guid nodeId, int namespaceIndex)
vbnet
Protected Sub New(nodeId As Guid, namespaceIndex As Integer)

Parameters

NameTypeDescription
nodeIdGuidThe general unique identifier (= GUID) of the node on which the service, who will execute this command, will operate.
namespaceIndexInt32The index of the namespace within that the node with the nodeId specified can be located.

OpcNodeServiceCommand(Guid, OpcNamespace) ​

protected

Initializes a new instance of the OpcNodeServiceCommand class using the nodeId and nodeNamespace specified.

csharp
protected OpcNodeServiceCommand(Guid nodeId, OpcNamespace nodeNamespace)
vbnet
Protected Sub New(nodeId As Guid, nodeNamespace As OpcNamespace)

Parameters

NameTypeDescription
nodeIdGuidThe general unique identifier (= GUID) of the node on which the service, who will execute this command, will operate.
nodeNamespaceOpcNamespaceThe namespace within that the node with the nodeId specified can be located.

OpcNodeServiceCommand(int) ​

protected

Initializes a new instance of the OpcNodeServiceCommand class using the nodeId specified.

csharp
protected OpcNodeServiceCommand(int nodeId)
vbnet
Protected Sub New(nodeId As Integer)

Parameters

NameTypeDescription
nodeIdInt32The numeric node identifier of the node on which the service, who will execute this command, will operate.

OpcNodeServiceCommand(int, int) ​

protected

Initializes a new instance of the OpcNodeServiceCommand class using the nodeId and namespaceIndex specified.

csharp
protected OpcNodeServiceCommand(int nodeId, int namespaceIndex)
vbnet
Protected Sub New(nodeId As Integer, namespaceIndex As Integer)

Parameters

NameTypeDescription
nodeIdInt32The numeric node identifier of the node on which the service, who will execute this command, will operate.
namespaceIndexInt32The index of the namespace within that the node with the nodeId specified can be located.

OpcNodeServiceCommand(int, OpcNamespace) ​

protected

Initializes a new instance of the OpcNodeServiceCommand class using the nodeId and nodeNamespace specified.

csharp
protected OpcNodeServiceCommand(int nodeId, OpcNamespace nodeNamespace)
vbnet
Protected Sub New(nodeId As Integer, nodeNamespace As OpcNamespace)

Parameters

NameTypeDescription
nodeIdInt32The numeric node identifier of the node on which the service, who will execute this command, will operate.
nodeNamespaceOpcNamespaceThe namespace within that the node with the nodeId specified can be located.

OpcNodeServiceCommand(uint) ​

protected

Initializes a new instance of the OpcNodeServiceCommand class using the nodeId specified.

csharp
protected OpcNodeServiceCommand(uint nodeId)
vbnet
Protected Sub New(nodeId As UInteger)

Parameters

NameTypeDescription
nodeIdUInt32The numeric node identifier of the node on which the service, who will execute this command, will operate.

OpcNodeServiceCommand(uint, int) ​

protected

Initializes a new instance of the OpcNodeServiceCommand class using the nodeId and namespaceIndex specified.

csharp
protected OpcNodeServiceCommand(uint nodeId, int namespaceIndex)
vbnet
Protected Sub New(nodeId As UInteger, namespaceIndex As Integer)

Parameters

NameTypeDescription
nodeIdUInt32The numeric node identifier of the node on which the service, who will execute this command, will operate.
namespaceIndexInt32The index of the namespace within that the node with the nodeId specified can be located.

OpcNodeServiceCommand(uint, OpcNamespace) ​

protected

Initializes a new instance of the OpcNodeServiceCommand class using the nodeId and nodeNamespace specified.

csharp
protected OpcNodeServiceCommand(uint nodeId, OpcNamespace nodeNamespace)
vbnet
Protected Sub New(nodeId As UInteger, nodeNamespace As OpcNamespace)

Parameters

NameTypeDescription
nodeIdUInt32The numeric node identifier of the node on which the service, who will execute this command, will operate.
nodeNamespaceOpcNamespaceThe namespace within that the node with the nodeId specified can be located.

OpcNodeServiceCommand(string) ​

protected

Initializes a new instance of the OpcNodeServiceCommand class using the nodeId specified.

csharp
protected OpcNodeServiceCommand(string nodeId)
vbnet
Protected Sub New(nodeId As String)

Parameters

NameTypeDescription
nodeIdStringThe textual node identifier of the node on which the service, who will execute this command, will operate.

OpcNodeServiceCommand(string, int) ​

protected

Initializes a new instance of the OpcNodeServiceCommand class using the nodeId and namespaceIndex specified.

csharp
protected OpcNodeServiceCommand(string nodeId, int namespaceIndex)
vbnet
Protected Sub New(nodeId As String, namespaceIndex As Integer)

Parameters

NameTypeDescription
nodeIdStringThe textual node identifier of the node on which the service, who will execute this command, will operate.
namespaceIndexInt32The index of the namespace within that the node with the nodeId specified can be located.

OpcNodeServiceCommand(string, OpcNamespace) ​

protected

Initializes a new instance of the OpcNodeServiceCommand class using the nodeId and nodeNamespace specified.

csharp
protected OpcNodeServiceCommand(string nodeId, OpcNamespace nodeNamespace)
vbnet
Protected Sub New(nodeId As String, nodeNamespace As OpcNamespace)

Parameters

NameTypeDescription
nodeIdStringThe textual node identifier of the node on which the service, who will execute this command, will operate.
nodeNamespaceOpcNamespaceThe namespace within that the node with the nodeId specified can be located.

Properties ​

NodeId ​

Gets the node identifier of the node on which a node orientated service have to operate on.

csharp
public OpcNodeId NodeId { get; }
vbnet
Public Property NodeId As OpcNodeId

Property value

OpcNodeId

An instance of the OpcNodeId class identifying the node on which a node orientated service have to operate on.

SupportsNullNodeId ​

protected · virtual

Gets a value indicating whether the OpcNodeServiceCommand supports instances of the OpcNodeId class its IsNull provides a value equals to the value true.

csharp
protected virtual bool SupportsNullNodeId { get; }
vbnet
Protected Overridable ReadOnly Property SupportsNullNodeId As Boolean

Property value

Boolean

The value true in the case there the OpcNodeId instance of the command can be a null-node-id; otherwise the value false.

Remarks

In case there this property provides the value false and an instance of the OpcNodeId is passed to the constructor of this class an ArgumentException will be thrown.

Methods ​

DenyNullIdentifier ​

protected · since v2.7

Verifies whether the value is a null identifier by checking the IsNull property.

csharp
protected void DenyNullIdentifier(OpcNodeId value, string valueName)
vbnet
Protected Sub DenyNullIdentifier(value As OpcNodeId, valueName As String)

Parameters

NameTypeDescription
valueOpcNodeIdThe OpcNodeId to verify.
valueNameStringThe name of the value passed. This is used in case there value is a null identifier.

Exceptions

ExceptionCondition
ArgumentExceptionThe IsNull of value is equals true.