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
| Overload | Description |
|---|---|
| Opc | Initializes a new instance of the OpcnodeId specified. |
| Opc | Initializes a new instance of the OpcnodeId specified. |
| Opc | Initializes a new instance of the OpcnodeId and namespaceIndex specified. |
| Opc | Initializes a new instance of the OpcnodeId and nodeNamespace specified. |
| Opc | Initializes a new instance of the OpcnodeId specified. |
| Opc | Initializes a new instance of the OpcnodeId and namespaceIndex specified. |
| Opc | Initializes a new instance of the OpcnodeId and nodeNamespace specified. |
| Opc | Initializes a new instance of the OpcnodeId specified. |
| Opc | Initializes a new instance of the OpcnodeId and namespaceIndex specified. |
| Opc | Initializes a new instance of the OpcnodeId and nodeNamespace specified. |
| Opc | Initializes a new instance of the OpcnodeId specified. |
| Opc | Initializes a new instance of the OpcnodeId and namespaceIndex specified. |
| Opc | Initializes a new instance of the OpcnodeId and nodeNamespace specified. |
| Opc | Initializes a new instance of the OpcnodeId specified. |
| Opc | Initializes a new instance of the OpcnodeId and namespaceIndex specified. |
| Opc | Initializes a new instance of the OpcnodeId and nodeNamespace specified. |
OpcNodeServiceCommand(OpcNodeId)
Initializes a new instance of the OpcNodeServiceCommand class using the nodeId specified.
protected OpcNodeServiceCommand(OpcNodeId nodeId)Protected Sub New(nodeId As OpcNodeId)Parameters
| Name | Type | Description |
|---|---|---|
nodeId | OpcNodeId | The OpcNodeId of the node on which the service, who will execute this command, will operate. |
Exceptions
| Exception | Condition |
|---|---|
| Argument | The command does not support empty node identifiers. |
| Argument | The nodeId is a null reference ( |
OpcNodeServiceCommand(byte[])
Initializes a new instance of the OpcNodeServiceCommand class using the nodeId specified.
protected OpcNodeServiceCommand(byte[] nodeId)Protected Sub New(nodeId As Byte())Parameters
| Name | Type | Description |
|---|---|---|
nodeId | Byte[] | The opaque node identifier of the node on which the service, who will execute this command, will operate. |
OpcNodeServiceCommand(byte[], int)
Initializes a new instance of the OpcNodeServiceCommand class using the nodeId and namespaceIndex specified.
protected OpcNodeServiceCommand(byte[] nodeId, int namespaceIndex)Protected Sub New(nodeId As Byte(), namespaceIndex As Integer)Parameters
| Name | Type | Description |
|---|---|---|
nodeId | Byte[] | The opaque node identifier of the node on which the service, who will execute this command, will operate. |
namespaceIndex | Int32 | The index of the namespace within that the node with the nodeId specified can be located. |
OpcNodeServiceCommand(byte[], OpcNamespace)
Initializes a new instance of the OpcNodeServiceCommand class using the nodeId and nodeNamespace specified.
protected OpcNodeServiceCommand(byte[] nodeId, OpcNamespace nodeNamespace)Protected Sub New(nodeId As Byte(), nodeNamespace As OpcNamespace)Parameters
| Name | Type | Description |
|---|---|---|
nodeId | Byte[] | The opaque node identifier of the node on which the service, who will execute this command, will operate. |
nodeNamespace | OpcNamespace | The namespace within that the node with the nodeId specified can be located. |
OpcNodeServiceCommand(Guid)
Initializes a new instance of the OpcNodeServiceCommand class using the nodeId specified.
protected OpcNodeServiceCommand(Guid nodeId)Protected Sub New(nodeId As Guid)Parameters
| Name | Type | Description |
|---|---|---|
nodeId | Guid | The general unique identifier ( |
OpcNodeServiceCommand(Guid, int)
Initializes a new instance of the OpcNodeServiceCommand class using the nodeId and namespaceIndex specified.
protected OpcNodeServiceCommand(Guid nodeId, int namespaceIndex)Protected Sub New(nodeId As Guid, namespaceIndex As Integer)Parameters
| Name | Type | Description |
|---|---|---|
nodeId | Guid | The general unique identifier ( |
namespaceIndex | Int32 | The index of the namespace within that the node with the nodeId specified can be located. |
OpcNodeServiceCommand(Guid, OpcNamespace)
Initializes a new instance of the OpcNodeServiceCommand class using the nodeId and nodeNamespace specified.
protected OpcNodeServiceCommand(Guid nodeId, OpcNamespace nodeNamespace)Protected Sub New(nodeId As Guid, nodeNamespace As OpcNamespace)Parameters
| Name | Type | Description |
|---|---|---|
nodeId | Guid | The general unique identifier ( |
nodeNamespace | OpcNamespace | The namespace within that the node with the nodeId specified can be located. |
OpcNodeServiceCommand(int)
Initializes a new instance of the OpcNodeServiceCommand class using the nodeId specified.
protected OpcNodeServiceCommand(int nodeId)Protected Sub New(nodeId As Integer)Parameters
| Name | Type | Description |
|---|---|---|
nodeId | Int32 | The numeric node identifier of the node on which the service, who will execute this command, will operate. |
OpcNodeServiceCommand(int, int)
Initializes a new instance of the OpcNodeServiceCommand class using the nodeId and namespaceIndex specified.
protected OpcNodeServiceCommand(int nodeId, int namespaceIndex)Protected Sub New(nodeId As Integer, namespaceIndex As Integer)Parameters
| Name | Type | Description |
|---|---|---|
nodeId | Int32 | The numeric node identifier of the node on which the service, who will execute this command, will operate. |
namespaceIndex | Int32 | The index of the namespace within that the node with the nodeId specified can be located. |
OpcNodeServiceCommand(int, OpcNamespace)
Initializes a new instance of the OpcNodeServiceCommand class using the nodeId and nodeNamespace specified.
protected OpcNodeServiceCommand(int nodeId, OpcNamespace nodeNamespace)Protected Sub New(nodeId As Integer, nodeNamespace As OpcNamespace)Parameters
| Name | Type | Description |
|---|---|---|
nodeId | Int32 | The numeric node identifier of the node on which the service, who will execute this command, will operate. |
nodeNamespace | OpcNamespace | The namespace within that the node with the nodeId specified can be located. |
OpcNodeServiceCommand(uint)
Initializes a new instance of the OpcNodeServiceCommand class using the nodeId specified.
protected OpcNodeServiceCommand(uint nodeId)Protected Sub New(nodeId As UInteger)Parameters
| Name | Type | Description |
|---|---|---|
nodeId | UInt32 | The numeric node identifier of the node on which the service, who will execute this command, will operate. |
OpcNodeServiceCommand(uint, int)
Initializes a new instance of the OpcNodeServiceCommand class using the nodeId and namespaceIndex specified.
protected OpcNodeServiceCommand(uint nodeId, int namespaceIndex)Protected Sub New(nodeId As UInteger, namespaceIndex As Integer)Parameters
| Name | Type | Description |
|---|---|---|
nodeId | UInt32 | The numeric node identifier of the node on which the service, who will execute this command, will operate. |
namespaceIndex | Int32 | The index of the namespace within that the node with the nodeId specified can be located. |
OpcNodeServiceCommand(uint, OpcNamespace)
Initializes a new instance of the OpcNodeServiceCommand class using the nodeId and nodeNamespace specified.
protected OpcNodeServiceCommand(uint nodeId, OpcNamespace nodeNamespace)Protected Sub New(nodeId As UInteger, nodeNamespace As OpcNamespace)Parameters
| Name | Type | Description |
|---|---|---|
nodeId | UInt32 | The numeric node identifier of the node on which the service, who will execute this command, will operate. |
nodeNamespace | OpcNamespace | The namespace within that the node with the nodeId specified can be located. |
OpcNodeServiceCommand(string)
Initializes a new instance of the OpcNodeServiceCommand class using the nodeId specified.
protected OpcNodeServiceCommand(string nodeId)Protected Sub New(nodeId As String)Parameters
| Name | Type | Description |
|---|---|---|
nodeId | String | The textual node identifier of the node on which the service, who will execute this command, will operate. |
OpcNodeServiceCommand(string, int)
Initializes a new instance of the OpcNodeServiceCommand class using the nodeId and namespaceIndex specified.
protected OpcNodeServiceCommand(string nodeId, int namespaceIndex)Protected Sub New(nodeId As String, namespaceIndex As Integer)Parameters
| Name | Type | Description |
|---|---|---|
nodeId | String | The textual node identifier of the node on which the service, who will execute this command, will operate. |
namespaceIndex | Int32 | The index of the namespace within that the node with the nodeId specified can be located. |
OpcNodeServiceCommand(string, OpcNamespace)
Initializes a new instance of the OpcNodeServiceCommand class using the nodeId and nodeNamespace specified.
protected OpcNodeServiceCommand(string nodeId, OpcNamespace nodeNamespace)Protected Sub New(nodeId As String, nodeNamespace As OpcNamespace)Parameters
| Name | Type | Description |
|---|---|---|
nodeId | String | The textual node identifier of the node on which the service, who will execute this command, will operate. |
nodeNamespace | OpcNamespace | The 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.
public OpcNodeId NodeId { get; }Public Property NodeId As OpcNodeIdProperty value
An instance of the OpcNodeId class identifying the node on which a node orientated service have to operate on.
SupportsNullNodeId
Gets a value indicating whether the OpcNodeServiceCommand supports instances of the OpcNodeId class its IsNull provides a value equals to the value true.
protected virtual bool SupportsNullNodeId { get; }Protected Overridable ReadOnly Property SupportsNullNodeId As BooleanProperty value
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
Verifies whether the value is a null identifier by checking the IsNull property.
protected void DenyNullIdentifier(OpcNodeId value, string valueName)Protected Sub DenyNullIdentifier(value As OpcNodeId, valueName As String)Parameters
| Name | Type | Description |
|---|---|---|
value | OpcNodeId | The OpcNodeId to verify. |
valueName | String | The name of the value passed. This is used in case there value is a null identifier. |
Exceptions
| Exception | Condition |
|---|---|
| Argument | The IsNull of value is equals true. |

